Documentation ¶
Overview ¶
Package membercluster features the MemberCluster controller for watching update/delete events to the MemberCluster object and removes finalizers on all fleet networking resources in the fleet member cluster namespace.
Index ¶
Constants ¶
View Source
const (
ControllerName = "membercluster-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Recorder record.EventRecorder // the wait time in minutes before we need to force delete a member cluster. ForceDeleteWaitTime time.Duration }
Reconciler reconciles a MemberCluster object.
func (*Reconciler) Reconcile ¶
Reconcile watches the deletion of the member cluster and removes finalizers on fleet networking resources in the member cluster namespace.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.