controllers

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const RequeueTimeout = 5 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudStackClusterReconciler

type CloudStackClusterReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	CS     cloud.Client
}

CloudStackClusterReconciler reconciles a CloudStackCluster object.

func (*CloudStackClusterReconciler) Reconcile

func (r *CloudStackClusterReconciler) Reconcile(req ctrl.Request) (retRes ctrl.Result, retErr error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*CloudStackClusterReconciler) SetupWithManager

func (r *CloudStackClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

Called in main, this registers the cluster reconciler to the CAPI controller manager.

type CloudStackMachineReconciler

type CloudStackMachineReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	CS     cloud.Client
}

CloudStackMachineReconciler reconciles a CloudStackMachine object

func (*CloudStackMachineReconciler) Reconcile

func (r *CloudStackMachineReconciler) Reconcile(req ctrl.Request) (retRes ctrl.Result, retErr error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*CloudStackMachineReconciler) SetupWithManager

func (r *CloudStackMachineReconciler) SetupWithManager(mgr ctrl.Manager) error

Called in main, this registers the machine reconciler to the CAPI controller manager.

Jump to

Keyboard shortcuts

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