Documentation ¶
Index ¶
- type Messages
- type Renovate
- type Tool
- func (tool *Tool) CreateMarkerFile(markerFileDirectory string) error
- func (tool *Tool) GetBinaryStatus() error
- func (tool *Tool) GetMarkerFileStatus(markerFileDirectory string) error
- func (tool *Tool) GetVersionStatus() error
- func (tool *Tool) HasBuildDependency(term string) bool
- func (tool *Tool) HasRuntimeDependency(term string) bool
- func (tool *Tool) HasTag(term string) bool
- func (tool *Tool) Inspect(registryImagePrefix string, raw bool) error
- func (tool *Tool) Install(registryImagePrefix string, prefix string, target string) error
- func (tool *Tool) List()
- func (tool *Tool) MatchesBuildDependency(term string) bool
- func (tool *Tool) MatchesName(term string) bool
- func (tool *Tool) MatchesRuntimeDependency(term string) bool
- func (tool *Tool) MatchesTag(term string) bool
- func (tool *Tool) Print()
- func (tool *Tool) RemoveMarkerFile(markerFileDirectory string) error
- func (tool *Tool) ReplaceVariables(target string, arch string, altArch string)
- func (tool *Tool) RunVersionCheck() (string, error)
- func (tool *Tool) ShowInternals(indentation int) string
- func (tool *Tool) ShowUpdate(indentation int) string
- func (tool *Tool) ShowUsage(indentation int) string
- type ToolStatus
- type Tools
- func (tools *Tools) AddIfMissing(newTool *Tool)
- func (tools *Tools) Contains(name string) bool
- func (tools *Tools) Describe(name string) error
- func (tools *Tools) Find(term string, searchInName bool, searchInTags bool, searchInDeps bool) Tools
- func (tools *Tools) GetByName(name string) (*Tool, error)
- func (tools *Tools) GetByNames(names []string) Tools
- func (tools *Tools) GetByTag(tagName string) *Tools
- func (tools *Tools) GetByTags(tagNames []string) Tools
- func (tools *Tools) GetNames() []string
- func (tools *Tools) List()
- func (tools *Tools) ListWithStatus()
- func (tools *Tools) ResolveDependencies(queue *Tools, toolName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct { Name string `json:"name"` Version string `json:"version"` Binary string `json:"binary,omitempty"` Check string `json:"check,omitempty"` Tags []string `json:"tags"` BuildDependencies []string `json:"build_dependencies,omitempty"` RuntimeDependencies []string `json:"runtime_dependencies,omitempty"` Platforms []string `json:"platforms,omitempty"` ConflictsWith []string `json:"conflicts_with,omitempty"` Homepage string `json:"homepage"` Description string `json:"description"` Messages Messages `json:"messages,omitempty"` Renovate Renovate `json:"renovate,omitempty"` Status ToolStatus }
func (*Tool) CreateMarkerFile ¶
func (*Tool) GetBinaryStatus ¶
func (*Tool) GetMarkerFileStatus ¶
func (*Tool) GetVersionStatus ¶
func (*Tool) HasBuildDependency ¶
func (*Tool) HasRuntimeDependency ¶
func (*Tool) MatchesBuildDependency ¶
func (*Tool) MatchesName ¶
func (*Tool) MatchesRuntimeDependency ¶
func (*Tool) MatchesTag ¶
func (*Tool) RemoveMarkerFile ¶
func (*Tool) ReplaceVariables ¶
func (*Tool) RunVersionCheck ¶
func (*Tool) ShowInternals ¶
func (*Tool) ShowUpdate ¶
type ToolStatus ¶
type Tools ¶
type Tools struct {
Tools []Tool `json:"tools"`
}
func LoadFromBytes ¶
func LoadFromFile ¶
func (*Tools) AddIfMissing ¶
func (*Tools) GetByNames ¶
func (*Tools) ListWithStatus ¶
func (tools *Tools) ListWithStatus()
Click to show internal directories.
Click to hide internal directories.