Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsToolNotFoundExError ¶
func NewToolNotFoundExError ¶
Types ¶
type DefaultSystemAdapter ¶
type DefaultSystemAdapter struct { }
func NewDefaultSystemAdapter ¶
func NewDefaultSystemAdapter() *DefaultSystemAdapter
func (DefaultSystemAdapter) CheckCommandAvailable ¶
func (systemAdapter DefaultSystemAdapter) CheckCommandAvailable(command string) (bool, error)
func (DefaultSystemAdapter) CheckDirExist ¶
func (systemAdapter DefaultSystemAdapter) CheckDirExist(path string) (bool, error)
func (DefaultSystemAdapter) ExecuteCommand ¶
func (systemAdapter DefaultSystemAdapter) ExecuteCommand(commandName string, params []string) (string, error)
type DefaultToolsStorageAdapter ¶
type DefaultToolsStorageAdapter struct {
// contains filtered or unexported fields
}
func NewDefaultStorageAdapter ¶
func NewDefaultStorageAdapter(storage ToolsStorage) *DefaultToolsStorageAdapter
func (DefaultToolsStorageAdapter) Find ¶
func (adapter DefaultToolsStorageAdapter) Find(toolName string) (*manifestchecker.ToolSpec, error)
type ToolFindOptions ¶
type ToolFindOptions struct {
Name string
}
type ToolsStorage ¶
type ToolsStorage interface {
Find(toolsFindOptions ToolFindOptions) (*manifestchecker.ToolSpec, error)
}
Click to show internal directories.
Click to hide internal directories.