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) OperatorImageCollector ¶
OperatorImageCollector - this looks into the operator index image taking into account the mode we are in (mirrorToDisk, diskToMirror) the image is downloaded (oci format) and the index.json is inspected once unmarshalled, the links to manifests are inspected
type CollectorInterface ¶
type CollectorInterface interface {
OperatorImageCollector(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) OperatorImageCollector ¶
func (o *LocalStorageCollector) OperatorImageCollector(ctx context.Context) ([]v1alpha3.CopyImageSchema, error)
OperatorImageCollector - this looks into the operator index image taking into account the mode we are in (mirrorToDisk, diskToMirror) the image is downloaded (oci format) and the index.json is inspected once unmarshalled, the links to manifests are inspected
Click to show internal directories.
Click to hide internal directories.