Documentation ¶
Overview ¶
Package controllers contains experimental controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOwnerClusterKey ¶
func GetOwnerClusterKey(obj metav1.ObjectMeta) (*client.ObjectKey, error)
GetOwnerClusterKey returns only the Cluster name and namespace.
Types ¶
type GCPManagedClusterReconciler ¶
type GCPManagedClusterReconciler struct { client.Client WatchFilterValue string ReconcileTimeout time.Duration }
GCPManagedClusterReconciler reconciles a GCPManagedCluster object.
func (*GCPManagedClusterReconciler) Reconcile ¶
func (r *GCPManagedClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*GCPManagedClusterReconciler) SetupWithManager ¶
func (r *GCPManagedClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type GCPManagedControlPlaneReconciler ¶
type GCPManagedControlPlaneReconciler struct { client.Client ReconcileTimeout time.Duration WatchFilterValue string }
GCPManagedControlPlaneReconciler reconciles a GCPManagedControlPlane object.
func (*GCPManagedControlPlaneReconciler) SetupWithManager ¶
func (r *GCPManagedControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type GCPManagedMachinePoolReconciler ¶
type GCPManagedMachinePoolReconciler struct { client.Client ReconcileTimeout time.Duration WatchFilterValue string }
GCPManagedMachinePoolReconciler reconciles a GCPManagedMachinePool object.
func (*GCPManagedMachinePoolReconciler) SetupWithManager ¶
func (r *GCPManagedMachinePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.