operator

package
v2.0.0-...-443e6bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

func (*Collector) OperatorImageCollector

func (o *Collector) 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

type CollectorInterface

type CollectorInterface interface {
	OperatorImageCollector(ctx context.Context) ([]v1alpha3.CopyImageSchema, error)
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL