skopeo

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(out output.Output) (*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) error

func (*Runner) Copy

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

func (*Runner) CopyManifest

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

func (*Runner) InspectManifest

func (r *Runner) InspectManifest(
	ctx context.Context, imageName string, opts ...SkopeoOption,
) (manifestlist.ManifestList, []byte, 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 Debug

func Debug() SkopeoOption

func DestCredentials

func DestCredentials(username, password string) SkopeoOption

func DisableDestTLSVerify

func DisableDestTLSVerify() SkopeoOption

func DisableSrcTLSVerify

func DisableSrcTLSVerify() SkopeoOption

func OS

func OS(os string) 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