operator

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

View Source
const (
	// ConfigMapName is the name of the CDI Operator config map
	// used to determine which CDI instance is "active"
	// and maybe other stuff some day in the future
	ConfigMapName = "cdi-config"
)

Variables

This section is empty.

Functions

func SetConfigAsOwner added in v1.16.0

func SetConfigAsOwner(configMap *corev1.ConfigMap, object metav1.Object) error

SetConfigAsOwner sets the passed in config map as owner of the object

func SetOwner added in v1.5.1

func SetOwner(client kubernetes.Interface, object metav1.Object) error

SetOwner makes the current "active" CDI CR the owner of the object

func SetOwnerRuntime added in v1.16.0

func SetOwnerRuntime(client client.Client, object metav1.Object) error

SetOwnerRuntime makes the current "active" CDI CR the owner of the object using runtime lib client

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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