Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
Store `json:"" yaml:",inline" mapstructure:",squash"`
Tools Tools `json:"tools" yaml:"tools" mapstructure:"tools"`
Check `json:"" yaml:",inline" mapstructure:",squash"`
}
func DefaultAppConfig ¶
func DefaultAppConfig() AppConfig
type Check ¶
type Check struct {
VerifyDigest bool `json:"verify-digest" yaml:"verify-digest" mapstructure:"verify-digest"`
}
type Store ¶
type Store struct {
Root string `json:"root" yaml:"root" mapstructure:"root"`
}
func DefaultStore ¶
func DefaultStore() Store
type Tool ¶
type Tool struct {
Name string `json:"name" yaml:"name" mapstructure:"name"`
Version ToolVersionConfig `json:"version" yaml:"version" mapstructure:"version"`
InstallMethod string `json:"method" yaml:"method,omitempty" mapstructure:"method"`
Parameters map[string]any `json:"with" yaml:"with,omitempty" mapstructure:"with"`
}
type ToolVersionConfig ¶
type ToolVersionConfig struct {
Want string `json:"want" yaml:"want" mapstructure:"want"`
Constraint string `json:"constraint" yaml:"constraint,omitempty" mapstructure:"constraint"`
ResolveMethod string `json:"method" yaml:"method,omitempty" mapstructure:"method"`
Parameters map[string]any `json:"with" yaml:"with,omitempty" mapstructure:"with"`
}
Click to show internal directories.
Click to hide internal directories.