Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDepsPure ¶
Types ¶
type InstallPlan ¶
type InstallPlan struct {
// There are two types of install plans: `pre-existing` and `configured`.
// `pre-existing` corresponds to system-level libraries, and `configured`
// is for globally-installed and project-local dependencies. To
// differentiate, the `style` field is used.
Type string `mapstructure:"type"`
Id string `mapstructure:"id"`
Name string `mapstructure:"pkg-name"`
Version string `mapstructure:"pkg-version"`
Components map[string]Component `mapstructure:"components"` // Not always present
Depends []string `mapstructure:"depends"` // Dependencies can be defined here or in Components.*.Depends
// This field only exists for packages with Type `configured`. It can
// contain one of two values: `global` for globally-installed dependencies,
// or `local` for project-local dependencies
Style string `mapstructure:"style"` // Only exists for packages with type `configured`
}
type Plan ¶
type Plan struct {
InstallPlans []InstallPlan `mapstructure:"install-plan"`
}
Click to show internal directories.
Click to hide internal directories.