skopeo

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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
	// 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)

Jump to

Keyboard shortcuts

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