image

package
v0.26.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GuessedRefParts added in v0.22.0

type GuessedRefParts struct {
	Repo   string
	Tag    string
	Digest string
}

GuessedRefParts represents an image ref that was guessed from a string. it may not be an accurate representation since imgpkg parses ref itself. (Did not want to use go-containerregistry to avoid taking extra dep)

func NewGuessedRefParts added in v0.22.0

func NewGuessedRefParts(ref string) GuessedRefParts

type Imgpkg added in v0.22.0

type Imgpkg struct {
	// contains filtered or unexported fields
}

func NewImgpkg added in v0.22.0

func NewImgpkg(opts ImgpkgOpts, refFetcher ctlfetch.RefFetcher) *Imgpkg

func (*Imgpkg) Run added in v0.22.0

func (t *Imgpkg) Run(args []string) (string, error)

func (*Imgpkg) Tags added in v0.22.0

func (t *Imgpkg) Tags(repo string) ([]string, error)

type ImgpkgOpts added in v0.22.0

type ImgpkgOpts struct {
	SecretRef              *ctlconf.DirectoryContentsLocalRef
	DangerousSkipTLSVerify bool

	CmdRunFunc func(*exec.Cmd) error
}

type Sync

type Sync struct {
	// contains filtered or unexported fields
}

func NewSync

func NewSync(opts ctlconf.DirectoryContentsImage, refFetcher ctlfetch.RefFetcher) *Sync

func (Sync) Desc added in v0.22.0

func (t Sync) Desc() string

func (*Sync) Sync

func (t *Sync) Sync(dstPath string) (ctlconf.LockDirectoryContentsImage, error)

Jump to

Keyboard shortcuts

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