Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
Constructor is a function which creates an images store based on parameters represented as options
type Option ¶
type Option func(Parameters) Parameters
Options is a function which returns updated parameters.
func WithArchiveDir ¶
WithArchiveDir return an option to set the archive directory parameter.
type Parameters ¶
Parameters is used to create image stores.
func Create ¶
func Create(options ...Option) Parameters
type Store ¶
type Store interface { // Add copies the image with the given name to the image store. Add(img string) (contentDigest string, err error) // Push copies the image with the given digest from an image with the given name in the image store to a repository // with the given name. Push(dig image.Digest, src image.Name, dst image.Name) error }
Store is an abstract image store.
Click to show internal directories.
Click to hide internal directories.