Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { Log clog.PluggableLoggerInterface Mirror mirror.MirrorInterface Manifest manifest.ManifestInterface Config v1alpha2.ImageSetConfiguration Opts mirror.CopyOptions }
func (*Collector) AdditionalImagesCollector ¶
func (o *Collector) AdditionalImagesCollector(ctx context.Context) ([]v1alpha3.CopyImageSchema, error)
AdditionalImagesCollector - this looks into the additional images field taking into account the mode we are in (mirrorToDisk, diskToMirror) the image is downloaded in oci format
type CollectorInterface ¶
type CollectorInterface interface {
AdditionalImagesCollector(ctx context.Context) ([]v1alpha3.CopyImageSchema, error)
}
func New ¶
func New(log clog.PluggableLoggerInterface, config v1alpha2.ImageSetConfiguration, opts mirror.CopyOptions, mirror mirror.MirrorInterface, manifest manifest.ManifestInterface, localStorageFQDN string, ) CollectorInterface
type LocalStorageCollector ¶
type LocalStorageCollector struct { Log clog.PluggableLoggerInterface Mirror mirror.MirrorInterface Manifest manifest.ManifestInterface Config v1alpha2.ImageSetConfiguration Opts mirror.CopyOptions LocalStorageFQDN string }
func (*LocalStorageCollector) AdditionalImagesCollector ¶
func (o *LocalStorageCollector) AdditionalImagesCollector(ctx context.Context) ([]v1alpha3.CopyImageSchema, error)
AdditionalImagesCollector - this looks into the additional images field taking into account the mode we are in (mirrorToDisk, diskToMirror) the image is downloaded in oci format
Click to show internal directories.
Click to hide internal directories.