controller

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClusterConnectionReady          = errors.New("controlplane endpoint is empty, but ClusterConnection is ready")
	ErrInvalidControlPlaneEndpoint     = errors.New("invalid format of controlplane endpoint")
	ErrInvalidControlPlaneEndpointHost = errors.New("invalid host in controlplane endpoint")
	ErrInvalidControlPlaneEndpointPort = errors.New("invalid port in controlplane endpoint")
	ErrInvalidProviderId               = errors.New("invalid provider id")
)
View Source
var (
	ErrNoCluster = fmt.Errorf("no %q label present", clusterv1.ClusterNameLabel)
)

Functions

This section is empty.

Types

type IntelClusterReconciler

type IntelClusterReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	InventoryClient inventory.InfrastructureProvider
}

IntelClusterReconciler reconciles a IntelCluster object

func (*IntelClusterReconciler) Reconcile

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

func (*IntelClusterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type IntelMachineReconciler

type IntelMachineReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	InventoryClient inventory.InfrastructureProvider
}

IntelMachineReconciler reconciles a IntelMachine object

func (*IntelMachineReconciler) Reconcile

func (r *IntelMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr 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.19.1/pkg/reconcile

func (*IntelMachineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type IntelMachineReconcilerContext

type IntelMachineReconcilerContext struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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