Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrListImageUnknown = stderrors.New("unable to determine which image holds the manifest list")
ErrListImageUnknown is returned when we attempt to create an image reference for a List that has not yet been saved to an image.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List interface { manifests.List SaveToImage(store storage.Store, imageID string, names []string, mimeType string) (string, error) Reference(store storage.Store, multiple cp.ImageListSelection, instances []digest.Digest) (types.ImageReference, error) Push(ctx context.Context, dest types.ImageReference, options PushOptions) (reference.Canonical, digest.Digest, error) Add(ctx context.Context, sys *types.SystemContext, ref types.ImageReference, all bool) (digest.Digest, error) }
List is a manifest list or image index, either created using Create(), or loaded from local storage using LoadFromImage().
type PushOptions ¶
type PushOptions struct { Store storage.Store SystemContext *types.SystemContext // github.com/containers/image/types.SystemContext ImageListSelection cp.ImageListSelection // set to either CopySystemImage, CopyAllImages, or CopySpecificImages Instances []digest.Digest // instances to copy if ImageListSelection == CopySpecificImages ReportWriter io.Writer // will be used to log the writing of the list and any blobs }
PushOptions includes various settings which are needed for pushing the manifest list and its instances.
Click to show internal directories.
Click to hide internal directories.