controllers

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: GPL-3.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddClusterControllerToManager

func AddClusterControllerToManager(ctx *context.ControllerManagerContext, mgr manager.Manager, clusterControlledType client.Object) error

AddClusterControllerToManager adds the cluster controller to the provided manager.

func AddIPAddressControllerToManager

func AddIPAddressControllerToManager(ctx *context.ControllerManagerContext, mgr manager.Manager) error

AddIPAddressControllerToManager adds the machine controller to the provided manager.

func AddMachineControllerToManager

func AddMachineControllerToManager(ctx *context.ControllerManagerContext, mgr manager.Manager, controlledType client.Object) error

func AddVMControllerToManager

func AddVMControllerToManager(ctx *context.ControllerManagerContext, mgr manager.Manager) error

AddVMControllerToManager adds the VM controller to the provided manager.

Types

type Reconciler

type Reconciler struct {
	*context.ControllerContext

	ClusterModuleService clustermodule.Service
}

func NewReconciler

func NewReconciler(ctx *context.ControllerContext) Reconciler

func (Reconciler) PopulateWatchesOnController

func (r Reconciler) PopulateWatchesOnController(controller controller.Controller) error

func (Reconciler) Reconcile

func (r Reconciler) Reconcile(ctx *context.ClusterContext) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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