controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const SecretFinalizer = "infrastructure.cluster.x-k8s.io/caps-secret"

SecretFinalizer is the finalizer for secrets.

Variables

This section is empty.

Functions

func MachineUpdateNodeRefAvailable

func MachineUpdateNodeRefAvailable() predicate.Funcs

MachineUpdateNodeRefAvailable is a predicate that checks if the Machine's NodeRef has become available.

Types

type ScalewayClusterReconciler

type ScalewayClusterReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

ScalewayClusterReconciler reconciles a ScalewayCluster object

func NewScalewayClusterReconciler

func NewScalewayClusterReconciler(c client.Client) *ScalewayClusterReconciler

NewScalewayClusterReconciler returns a new ScalewayClusterReconciler.

func (*ScalewayClusterReconciler) Reconcile

func (r *ScalewayClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ 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.

func (*ScalewayClusterReconciler) SetupWithManager

func (r *ScalewayClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ScalewayMachineReconciler

type ScalewayMachineReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

ScalewayMachineReconciler reconciles a ScalewayMachine object

func NewScalewayMachineReconciler

func NewScalewayMachineReconciler(c client.Client) *ScalewayMachineReconciler

NewScalewayClusterReconciler returns a new ScalewayClusterReconciler.

func (*ScalewayMachineReconciler) Reconcile

func (r *ScalewayMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ 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.

func (*ScalewayMachineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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