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)
Click to show internal directories.
Click to hide internal directories.