controllers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// RemediationControlPlaneLabelKey is the label key to put on remediation CRs for control plane nodes
	RemediationControlPlaneLabelKey = "remediation.medik8s.io/isControlPlaneNode"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineHealthCheckReconciler added in v0.3.0

type MachineHealthCheckReconciler struct {
	client.Client
	Log                            logr.Logger
	Recorder                       record.EventRecorder
	ClusterUpgradeStatusChecker    cluster.UpgradeChecker
	MHCChecker                     mhc.Checker
	FeatureGateMHCControllerEvents <-chan event.GenericEvent
	FeatureGates                   featuregates.Accessor
}

MachineHealthCheckReconciler reconciles a MachineHealthCheck object

func (*MachineHealthCheckReconciler) Reconcile added in v0.3.0

func (r *MachineHealthCheckReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, returnErr 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 (*MachineHealthCheckReconciler) SetupWithManager added in v0.3.0

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

SetupWithManager sets up the controller with the Manager.

type NodeHealthCheckReconciler

type NodeHealthCheckReconciler struct {
	client.Client
	Log                         logr.Logger
	Recorder                    record.EventRecorder
	ClusterUpgradeStatusChecker cluster.UpgradeChecker
	MHCChecker                  mhc.Checker
	Capabilities                cluster.Capabilities
	MHCEvents                   chan event.GenericEvent
	// contains filtered or unexported fields
}

NodeHealthCheckReconciler reconciles a NodeHealthCheck object

func (*NodeHealthCheckReconciler) Reconcile

func (r *NodeHealthCheckReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, returnErr 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 (*NodeHealthCheckReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ObjectWithStatus added in v0.7.0

type ObjectWithStatus interface {
	GetStatus() interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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