install

package
v0.8.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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"

	// 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

func NewArtifactInstallCmd(ctx context.Context, opt *options.Common) *cobra.Command

NewArtifactInstallCmd returns the artifact install command.

func ResolveDeps

func ResolveDeps(resolver artifactConfigResolver, inRefs ...string) (outRefs []string, err error)

ResolveDeps resolves dependencies to a list of references.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL