Documentation ¶
Overview ¶
Package install defines options, and logic used to pull an artifact from a remote repository and install it in the local system.
Index ¶
Constants ¶
View Source
const ( // FlagRulesFilesDir is the name of the flag to specify the directory path of the rules files. FlagRulesFilesDir = "rulesfiles-dir" // FlagPluginsFilesDir is the name of the flag to specify the directory path of the plugins. FlagPluginsFilesDir = "plugins-dir" // FlagAllowedTypes is the name of the flag to specify allowed artifact types. FlagAllowedTypes = "allowed-types" // FlagResolveDeps is the name of the flag to enable artifact dependencies resolution. FlagResolveDeps = "resolve-deps" // FlagNoVerify is the name of the flag to disable signature verification. FlagNoVerify = "no-verify" )
Variables ¶
View Source
var ( // ErrCannotSatisfyDependencies is the error returned when we cannot correctly resolve dependencies. ErrCannotSatisfyDependencies = errors.New("cannot satisfy dependencies") )
Functions ¶
func NewArtifactInstallCmd ¶
NewArtifactInstallCmd returns the artifact install command.
func ResolveDeps ¶
ResolveDeps resolves dependencies to a list of references.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.