registryconfigurationcleaner

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimeoutWaitCleanupForManagedResource = 2 * time.Minute

TimeoutWaitCleanupForManagedResource is the timeout used while waiting for the ManagedResource to be deleted.

View Source
var TimeoutWaitForManagedResource = 3 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy.

Functions

func New

func New(
	client client.Client,
	namespace string,
	values Values,
) component.DeployWaiter

New creates a new instance of DeployWaiter for registry configuration cleaner.

Types

type Values

type Values struct {
	// AlpineImage is the alpine container image.
	AlpineImage string
	// PauseImage is the pause container image.
	PauseImage string
	// DeleteSystemdUnit represents whether the cleaner should delete the configure-containerd-registries.service systemd unit.
	DeleteSystemdUnit bool
	// Upstreams are the upstreams which registry configuration will be removed by the cleaner.
	Upstreams []string
}

Values is a set of configuration values for the registry configuration cleaner.

Jump to

Keyboard shortcuts

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