additionalimages

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter interface {
	// ImageForKey returns a container image reference as found in OperatorAdditionalImagesConfigmapName.
	ImageForKey(ctx context.Context, key string) (string, error)
}

func NewGetter

func NewGetter(client kubernetes.Interface, namespace string) Getter

type ImageConfig added in v0.9.0

type ImageConfig struct {
	OperatorImage string
}

type Updater

type Updater interface {
	// Update sets these images wherever they are needed.
	// E.g., the image used in the CronJob of a BackupSchedule.
	Update(ctx context.Context, config ImageConfig) error
}

func NewUpdater

func NewUpdater(clientSet ecosystem.Interface, namespace string, recorder record.EventRecorder) Updater

Jump to

Keyboard shortcuts

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