controllers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: GPL-3.0 Imports: 43 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