Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseExtractor ¶
DatabaseExtractor knows how to pull an index image and extract its database
type DatabaseExtractorFunc ¶
type ImageIndexMirrorOption ¶
type ImageIndexMirrorOption func(*IndexImageMirrorerOptions)
func WithDest ¶
func WithDest(d string) ImageIndexMirrorOption
func WithExtractor ¶
func WithExtractor(e DatabaseExtractor) ImageIndexMirrorOption
func WithManifestDir ¶
func WithManifestDir(d string) ImageIndexMirrorOption
func WithMirrorer ¶
func WithMirrorer(i ImageMirrorer) ImageIndexMirrorOption
func WithSource ¶
func WithSource(s string) ImageIndexMirrorOption
type ImageMirrorer ¶
ImageMirrorer knows how to mirror an image from one registry to another
type ImageMirrorerFunc ¶
type IndexImageMirrorer ¶
type IndexImageMirrorer struct { ImageMirrorer ImageMirrorer DatabaseExtractor DatabaseExtractor // options Source, Dest string }
func NewIndexImageMirror ¶
func NewIndexImageMirror(options ...ImageIndexMirrorOption) (*IndexImageMirrorer, error)
type IndexImageMirrorerOptions ¶
type IndexImageMirrorerOptions struct { ImageMirrorer ImageMirrorer DatabaseExtractor DatabaseExtractor Source, Dest string ManifestDir string }
func DefaultImageIndexMirrorerOptions ¶
func DefaultImageIndexMirrorerOptions() *IndexImageMirrorerOptions
func (*IndexImageMirrorerOptions) Apply ¶
func (c *IndexImageMirrorerOptions) Apply(options []ImageIndexMirrorOption)
Apply sequentially applies the given options to the config.
func (*IndexImageMirrorerOptions) Complete ¶
func (o *IndexImageMirrorerOptions) Complete() error
func (*IndexImageMirrorerOptions) ToOption ¶
func (c *IndexImageMirrorerOptions) ToOption() ImageIndexMirrorOption
ToOption converts an IndexImageMirrorerOptions object into a function that applies its current configuration to another IndexImageMirrorerOptions instance
func (*IndexImageMirrorerOptions) Validate ¶
func (o *IndexImageMirrorerOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.