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 ¶
type MachineHealthCheckReconciler struct {
client.Client
Log logr.Logger
Recorder record.EventRecorder
ClusterUpgradeStatusChecker cluster.UpgradeChecker
MHCChecker mhc.Checker
FeatureGateMHCControllerEvents <-chan event.GenericEvent
FeatureGates featuregates.Accessor
WatchManager resources.WatchManager
}
MachineHealthCheckReconciler reconciles a MachineHealthCheck object
func (*MachineHealthCheckReconciler) Reconcile ¶
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 ¶
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
WatchManager resources.WatchManager
// 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 ¶
type ObjectWithStatus interface {
GetStatus() interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.