Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
VerifySHA256Digest bool `json:"verify-sha256" yaml:"verify-sha256" mapstructure:"verify-sha256"`
}
type Core ¶ added in v0.2.0
type Core struct {
Store `json:"" yaml:",inline" mapstructure:",squash"`
Tools Tools `json:"tools" yaml:"tools" mapstructure:"tools"`
}
Core options make up the static application configuration on disk.
func DefaultCore ¶ added in v0.2.0
func DefaultCore() Core
type Format ¶ added in v0.7.0
type GoInstall ¶ added in v0.2.0
type GoInstall struct {
Module string `json:"module" yaml:"module" mapstructure:"module"`
Entrypoint string `json:"entrypoint" yaml:"entrypoint" mapstructure:"entrypoint"`
LDFlags string `json:"ld-flags" yaml:"ld-flags" mapstructure:"ld-flags"`
Args []string `json:"args" yaml:"args" mapstructure:"args"`
Env []string `json:"env" yaml:"env" mapstructure:"env"`
}
type List ¶ added in v0.5.0
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"`
}
type VersionResolution ¶ added in v0.2.0
type VersionResolution struct {
Constraint string `json:"constraint" yaml:"constraint" mapstructure:"constraint"`
Method string `json:"method" yaml:"method" mapstructure:"method"`
}
func (*VersionResolution) AddFlags ¶ added in v0.2.0
func (o *VersionResolution) AddFlags(flags clio.FlagSet)
Click to show internal directories.
Click to hide internal directories.