install

package
v0.3.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 14 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

This section is empty.

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.CommonOptions) *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