Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaintenanceReconciler ¶
MaintenanceReconciler handles the maintenance window detection for the current cluster. It watches the `UpgradeJob` CRs on the cluster and determines the current state of the maintenance.
func (*MaintenanceReconciler) IsMaintenanceRunning ¶
func (r *MaintenanceReconciler) IsMaintenanceRunning() bool
IsMaintenanceRunning returns the current state of the maintenance.
func (*MaintenanceReconciler) Reconcile ¶
func (r *MaintenanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)
Reconcile reconciles on OpenShift upgradeJob objects and tracks if it's currently running or not.
func (*MaintenanceReconciler) SetupWithManager ¶
func (r *MaintenanceReconciler) SetupWithManager(mgr ctrl.Manager, serviceCluster *cluster.Cluster) error
SetupWithManager sets up the controller with the Manager.
type MaintenanceStatus ¶
type MaintenanceStatus interface {
IsMaintenanceRunning() bool
}
MaintenanceStatus returns the current state of the maintenance.
Click to show internal directories.
Click to hide internal directories.