skopeo

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login added in v0.0.8

func Login(ctx context.Context, imageName string, opts *LoginOptions) error

Types

type CopyOptions

type CopyOptions struct {
	ReportWriter    io.Writer
	SrcImage        *skopeoPkg.ImageOptions
	DestImage       *skopeoPkg.ImageDestOptions
	RetryOpts       *retry.RetryOptions
	AdditionalTags  []string // For docker-archive: destinations, in addition to the name:tag specified as destination, also add these
	PreserveDigests bool     // Fail if we cannot preserve the source digests in the destination image
	All             bool     // Copy all of the images if the source is a list
	// contains filtered or unexported fields
}

type CopyResult

type CopyResult struct {
	Digest string
}

func Copy

func Copy(ctx context.Context, sourceImageName, destinationImageName string, opts *CopyOptions) (*CopyResult, error)

type InspectOptions

type InspectOptions struct {
	Image     *skopeoPkg.ImageOptions
	RetryOpts *retry.RetryOptions
	// contains filtered or unexported fields
}

type InspectOutput

type InspectOutput struct {
	Digest digest.Digest
}

func Inspect

func Inspect(ctx context.Context, imageName string, opts *InspectOptions) (out *InspectOutput, retErr error)

type LoginOptions added in v0.0.8

type LoginOptions struct {
	Image              *skopeoPkg.ImageOptions
	Username, Password string
	Stdout             io.Writer
	AuthFile           string
	CertPath           string
}

Jump to

Keyboard shortcuts

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