Documentation ¶
Index ¶
- type License
- 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(w io.Writer, layer []byte, rules []PathRewrite) error
- func (tool *Tool) Install(w io.Writer, layer []byte, rules []PathRewrite, ...) ([]string, error)
- func (tool *Tool) List(w io.Writer)
- 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(w io.Writer)
- 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(w io.Writer, 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(w io.Writer)
- func (tools *Tools) ListWithStatus(w io.Writer)
- 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 { SchemaVersion string `json:"schema_version,omitempty" yaml:"schema_version,omitempty"` Name string `json:"name" yaml:"name"` License License `json:"license" yaml:"license"` Version string `json:"version" yaml:"version"` Binary string `json:"binary,omitempty" yaml:"binary,omitempty"` Check string `json:"check,omitempty" yaml:"check"` Tags []string `json:"tags" yaml:"tags"` BuildDependencies []string `json:"build_dependencies,omitempty" yaml:"build_dependencies,omitempty"` RuntimeDependencies []string `json:"runtime_dependencies,omitempty" yaml:"runtime_dependencies,omitempty"` Platforms []string `json:"platforms,omitempty" yaml:"platforms,omitempty"` ConflictsWith []string `json:"conflicts_with,omitempty" yaml:"conflicts_with,omitempty"` Homepage string `json:"homepage,omitempty" yaml:"homepage,omitempty"` Repository string `json:"repository" yaml:"repository"` Description string `json:"description" yaml:"description"` Messages Messages `json:"messages,omitempty" yaml:"messages,omitempty"` Renovate Renovate `json:"renovate,omitempty" yaml:"renovate,omitempty"` Status ToolStatus `json:"status,omitempty" yaml:"status,omitempty"` }
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" yaml:"tools"`
}
func LoadFromBytes ¶
func LoadFromFile ¶
func (*Tools) AddIfMissing ¶
func (*Tools) GetByNames ¶
func (*Tools) ListWithStatus ¶
Click to show internal directories.
Click to hide internal directories.