Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client NamespaceFinalizer utilclient.Finalizer }
Reconciler is a reconciler that finalizes namespaces once they are marked for deletion. This is useful for integration testing against an envtest control plane, which doesn't run the namespace controller. Hence, if the tested controller must wait for a namespace to be deleted, it will be stuck forever. This reconciler finalizes namespaces without deleting their contents, so use with care.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
Click to show internal directories.
Click to hide internal directories.