skopeo

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner() (*Runner, CleanupFunc)

Types

type CleanupFunc

type CleanupFunc func() error

type Runner

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

func (*Runner) AttemptToLoginToRegistry

func (r *Runner) AttemptToLoginToRegistry(
	ctx context.Context,
	registryName string,
) (stdout, stderr []byte, err error)

func (*Runner) Copy

func (r *Runner) Copy(
	ctx context.Context,
	src, dest string,
	opts ...SkopeoOption,
) (stdout, stderr []byte, err error)

func (*Runner) CopyManifest

func (r *Runner) CopyManifest(
	ctx context.Context, manifest manifestlist.ManifestList, dest string, opts ...SkopeoOption,
) (stdout, stderr []byte, err error)

func (*Runner) InspectManifest

func (r *Runner) InspectManifest(
	ctx context.Context, imageName string, opts ...SkopeoOption,
) (manifests manifestlist.ManifestList, stdout, stderr []byte, err error)

type SkopeoOption

type SkopeoOption func() string

func All

func All() SkopeoOption

func AllImages

func AllImages() SkopeoOption

func Arch

func Arch(arch string) SkopeoOption

func CertDir added in v1.0.0

func CertDir(dir string) SkopeoOption

func Debug

func Debug() SkopeoOption

func DestCertDir added in v1.0.0

func DestCertDir(dir string) SkopeoOption

func DestCredentials

func DestCredentials(username, password string) SkopeoOption

func DisableDestTLSVerify

func DisableDestTLSVerify() SkopeoOption

func DisableSrcTLSVerify

func DisableSrcTLSVerify() SkopeoOption

func DisableTLSVerify added in v1.0.0

func DisableTLSVerify() SkopeoOption

func IndexOnly added in v0.6.9

func IndexOnly() SkopeoOption

func NoTags added in v0.6.11

func NoTags() SkopeoOption

func OS

func OS(opsys string) SkopeoOption

func PreserveDigests added in v0.6.9

func PreserveDigests() SkopeoOption

func SrcCredentials

func SrcCredentials(username, password string) SkopeoOption

func Variant

func Variant(variant string) SkopeoOption

Jump to

Keyboard shortcuts

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