controller

package
v0.0.0-...-eab9307 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModifyNamespaceMetadata

func ModifyNamespaceMetadata(namespace *corev1.Namespace, namespaceConfig *knamespace.NamespaceConfig)

Updates Annotation and Label Metadata on the specified namespace according to the NamespaceConfig

Types

type KnamespacerController

type KnamespacerController struct {
	client.Client
	Scheme          *runtime.Scheme
	NamespaceConfig *knamespace.NamespacesConfig
	StartUp         bool
}

func (*KnamespacerController) Reconcile

func (r *KnamespacerController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*KnamespacerController) SetupWithManager

func (r *KnamespacerController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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