Documentation ¶
Overview ¶
Package controllers contains controllers for CAPV objects.
Index ¶
- func AddClusterControllerToManager(ctx context.Context, ...) error
- func AddMachineControllerToManager(ctx context.Context, ...) error
- func AddVMControllerToManager(ctx context.Context, ...) error
- func AddVSphereDeploymentZoneControllerToManager(ctx context.Context, ...) error
- func AddVsphereClusterIdentityControllerToManager(ctx context.Context, ...) error
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddClusterControllerToManager ¶ added in v0.5.4
func AddClusterControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, supervisorBased bool, options controller.Options) error
AddClusterControllerToManager adds the cluster controller to the provided manager.
func AddMachineControllerToManager ¶ added in v0.5.4
func AddMachineControllerToManager(ctx context.Context, controllerManagerContext *capvcontext.ControllerManagerContext, mgr manager.Manager, supervisorBased bool, options controller.Options) error
AddMachineControllerToManager adds the machine controller to the provided manager.
func AddVMControllerToManager ¶ added in v0.6.0
func AddVMControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, clusterCache clustercache.ClusterCache, options controller.Options) error
AddVMControllerToManager adds the VM controller to the provided manager.
func AddVSphereDeploymentZoneControllerToManager ¶ added in v0.7.9
func AddVSphereDeploymentZoneControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, options controller.Options) error
AddVSphereDeploymentZoneControllerToManager adds the VSphereDeploymentZone controller to the provided manager.
func AddVsphereClusterIdentityControllerToManager ¶ added in v0.7.8
func AddVsphereClusterIdentityControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, options controller.Options) error
AddVsphereClusterIdentityControllerToManager adds a VSphereClusterIdentity controller to the controller manager.
Types ¶
type Reconciler ¶ added in v1.3.2
type Reconciler struct { Client client.Client ClusterModuleService clustermodule.Service }
Reconciler reconciles changes for ClusterModules.
func NewReconciler ¶ added in v1.3.2
func NewReconciler(controllerManagerCtx *capvcontext.ControllerManagerContext) Reconciler
NewReconciler creates a Cluster Module Reconciler with a Client and ClusterModuleService.
func (Reconciler) PopulateWatchesOnController ¶ added in v1.3.2
func (r Reconciler) PopulateWatchesOnController(mgr manager.Manager, controller controller.Controller) error
PopulateWatchesOnController adds watches to the ClusterModule reconciler.
func (Reconciler) Reconcile ¶ added in v1.3.2
func (r Reconciler) Reconcile(ctx context.Context, clusterCtx *capvcontext.ClusterContext) (reconcile.Result, error)