Versions in this module Expand all Collapse all v0 v0.1.1 Sep 16, 2024 v0.1.0 Sep 4, 2024 Changes in this version + const GarbageCollectIgnoreAnnotation + const ReadyTimeAnnotation + type ConditionChangedPredicate struct + func NewConditionChangedPredicate(log logr.Logger) ConditionChangedPredicate + func (p ConditionChangedPredicate) Update(e event.TypedUpdateEvent[client.Object]) bool + type GarbageCollectorOptions struct + func NewGarbageCollectorOptions() *GarbageCollectorOptions + func (gco *GarbageCollectorOptions) Load() + func (gco *GarbageCollectorOptions) MaxNodeMaintenanceTime() time.Duration + func (gco *GarbageCollectorOptions) Store(maxNodeMaintenanceTime time.Duration) + type MaintenanceOperatorConfigReconciler struct + GarbageCollectorOptions *GarbageCollectorOptions + SchedulerReconcierOptions *NodeMaintenanceSchedulerReconcilerOptions + Scheme *runtime.Scheme + func (r *MaintenanceOperatorConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *MaintenanceOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error + type NodeMaintenanceGarbageCollector struct + func NewNodeMaintenanceGarbageCollector(kClient client.Client, options *GarbageCollectorOptions, log logr.Logger) *NodeMaintenanceGarbageCollector + func (r *NodeMaintenanceGarbageCollector) Reconcile(ctx context.Context) error + func (r *NodeMaintenanceGarbageCollector) SetupWithManager(mgr ctrl.Manager) error + func (r *NodeMaintenanceGarbageCollector) Start(ctx context.Context) error + type NodeMaintenanceReconciler struct + CordonHandler cordon.Handler + DrainManager drain.Manager + EventRecorder record.EventRecorder + Scheme *runtime.Scheme + WaitPodCompletionHandler podcompletion.Handler + func (r *NodeMaintenanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *NodeMaintenanceReconciler) SetupWithManager(mgr ctrl.Manager, log logr.Logger) error + type NodeMaintenanceSchedulerReconciler struct + EventRecorder record.EventRecorder + Log logr.Logger + Options *NodeMaintenanceSchedulerReconcilerOptions + Sched scheduler.Scheduler + Scheme *runtime.Scheme + func (r *NodeMaintenanceSchedulerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *NodeMaintenanceSchedulerReconciler) SetupWithManager(mgr ctrl.Manager) error + type NodeMaintenanceSchedulerReconcilerOptions struct + func NewNodeMaintenanceSchedulerReconcilerOptions() *NodeMaintenanceSchedulerReconcilerOptions + func (nmsro *NodeMaintenanceSchedulerReconcilerOptions) Load() + func (nmsro *NodeMaintenanceSchedulerReconcilerOptions) MaxParallelOperations() *intstr.IntOrString + func (nmsro *NodeMaintenanceSchedulerReconcilerOptions) MaxUnavailable() *intstr.IntOrString + func (nmsro *NodeMaintenanceSchedulerReconcilerOptions) Store(maxUnavailable, maxParallelOperations *intstr.IntOrString)