controllers

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 69 Imported by: 0

Documentation

Overview

Package controllers contains controllers for CAPV objects.

Index

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.

func GetCMNamespaceName added in v1.1.0

func GetCMNamespaceName() types.NamespacedName

GetCMNamespaceName gets capi valid modifier configmap metadata.

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.

func (*ServiceAccountReconciler) Reconcile added in v1.1.0

func (r *ServiceAccountReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)

Directories

Path Synopsis
Package vmware contains the VSphereCluster reconciler.
Package vmware contains the VSphereCluster reconciler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL