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 ( // FlagAllowedTypes is the name of the flag to specify allowed artifact types. FlagAllowedTypes = "allowed-types" // FlagPlatform is the name of the flag to override the platform. FlagPlatform = "platform" // 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.