Documentation
¶
Index ¶
- func LinkHomes(envDir string, tools map[string]string, paths map[string][]string) error
- func RemoveStaleHomeLinks(envDir string, tools map[string]string, desired map[string][]string, ...) error
- func Resolve(inputs []Input, overrides map[string]string) ([]Input, []Conflict)
- func RestoreState(environmentDir string, state State) error
- func ValidateHomeLinks(envDir string, tools map[string]string, paths map[string][]string) error
- type Conflict
- type Input
- type Kind
- type Metadata
- type Plan
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveStaleHomeLinks ¶
func RestoreState ¶
Types ¶
type Metadata ¶
type Metadata struct {
Schema int `json:"schema"`
Generation string `json:"generation"`
ManifestHash string `json:"manifest_hash"`
Files map[string]string `json:"files"`
CreatedAt time.Time `json:"created_at"`
}
func VerifyGenerated ¶
VerifyGenerated validates the currently published generation without comparing it to a possibly newer manifest.
Click to show internal directories.
Click to hide internal directories.