Documentation ¶
Overview ¶
Package controllers contains controllers for CAPV objects.
Index ¶
- func AddClusterControllerToManager(ctx context.Context, ...) error
- func AddMachineControllerToManager(ctx context.Context, ...) error
- func AddServiceAccountProviderControllerToManager(ctx context.Context, ...) error
- func AddServiceDiscoveryControllerToManager(ctx context.Context, ...) error
- func AddVMControllerToManager(ctx context.Context, ...) error
- func AddVSphereDeploymentZoneControllerToManager(ctx context.Context, ...) error
- func AddVsphereClusterIdentityControllerToManager(ctx context.Context, ...) error
- type Reconciler
- type ServiceAccountReconciler
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 AddServiceAccountProviderControllerToManager ¶ added in v1.1.0
func AddServiceAccountProviderControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, tracker *remote.ClusterCacheTracker, options controller.Options) error
AddServiceAccountProviderControllerToManager adds this controller to the provided manager.
func AddServiceDiscoveryControllerToManager ¶ added in v1.1.0
func AddServiceDiscoveryControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, tracker *remote.ClusterCacheTracker, options controller.Options) error
AddServiceDiscoveryControllerToManager adds the ServiceDiscovery controller to the provided manager.
func AddVMControllerToManager ¶ added in v0.6.0
func AddVMControllerToManager(ctx context.Context, controllerManagerCtx *capvcontext.ControllerManagerContext, mgr manager.Manager, tracker *remote.ClusterCacheTracker, 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)
type ServiceAccountReconciler ¶ added in v1.1.0
type ServiceAccountReconciler struct { Client client.Client Recorder record.EventRecorder // contains filtered or unexported fields }
ServiceAccountReconciler reconciles changes to ProviderServiceAccounts.
Source Files ¶
- clustermodule_reconciler.go
- serviceaccount_controller.go
- servicediscovery_controller.go
- vspherecluster_controller.go
- vspherecluster_reconciler.go
- vsphereclusteridentity_controller.go
- vspheredeploymentzone_controller.go
- vspheredeploymentzone_controller_domain.go
- vspheremachine_controller.go
- vspherevm_controller.go
- vspherevm_ipaddress_reconciler.go