clusternamespacedeletion

package
v0.0.0-...-1d08411 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "clusternamespacedeletion-controller"

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context,
	mgr manager.Manager,
	clientHolder *helpers.ClientHolder) error

Add creates a new managedcluster controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileClusterNamespaceDeletion

type ReconcileClusterNamespaceDeletion struct {
	// contains filtered or unexported fields
}

ReconcileClusterNamespaceDeletion delete cluster namespace when 1. the namespace is a cluster namespace 2. no clusterdeployment in the ns 3. no infraenv in the ns 4. no active jobs in the ns

func (*ReconcileClusterNamespaceDeletion) Reconcile

Jump to

Keyboard shortcuts

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