Documentation ¶
Index ¶
- type Messages
- type PathRewrite
- 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) InspectWithPathRewrites(registryImagePrefix string, raw bool, rules []PathRewrite) error
- func (tool *Tool) Install(registryImagePrefix string, prefix string, target string, libDirectory string, ...) error
- func (tool *Tool) InstallWithPathRewrites(registryImagePrefix string, prefix string, rules []PathRewrite, ...) 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 PathRewrite ¶ added in v0.15.0
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,omitempty"` Repository string `json:"repository"` 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) InspectWithPathRewrites ¶ added in v0.15.0
func (tool *Tool) InspectWithPathRewrites(registryImagePrefix string, raw bool, rules []PathRewrite) error
func (*Tool) InstallWithPathRewrites ¶ added in v0.15.0
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.