Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Pinned to upstream opm v1.18.0 (k8s 1.21).
OPMImage = "quay.io/operator-framework/opm@sha256:038007c1c5d5f0efa50961cbcc097c6e63655a2ab4126547e3c4eb620ad0346e"
)
Functions ¶
This section is empty.
Types ¶
type MirrorOptions ¶
type MirrorOptions struct { cli.RootOptions SkipImagePin bool Logger *logrus.Entry // contains filtered or unexported fields }
MirrorOptions configures either a Full or Diff mirror operation on a particular operator catalog image.
func NewMirrorOptions ¶
func NewMirrorOptions(ro cli.RootOptions) *MirrorOptions
func (*MirrorOptions) Diff ¶
func (o *MirrorOptions) Diff(ctx context.Context, cfg v1alpha1.ImageSetConfiguration, lastRun v1alpha1.PastMirror) (image.AssociationSet, error)
Diff mirrors only the diff between each old and new catalog image pair to the <Dir>/src directory.
func (*MirrorOptions) Full ¶
func (o *MirrorOptions) Full(ctx context.Context, cfg v1alpha1.ImageSetConfiguration) (image.AssociationSet, error)
Full mirrors each catalog image in its entirety to the <Dir>/src directory.
Click to show internal directories.
Click to hide internal directories.