Documentation ¶
Index ¶
Constants ¶
View Source
const ( Pending ClusterState = "Pending" Provisioning ClusterState = "Provisioning" Initializing ClusterState = "Initializing" Ready ClusterState = "Ready" DefaultRequeueDelay = 10 * time.Second StatusUpdateRequeueDelay = 1 * time.Second SelfCheckRequeueDelay = 30 * time.Second StorageInitializationRequeueDelay = 5 * time.Second ReasonInProgress = "InProgress" ReasonNotRequired = "NotRequired" ReasonCompleted = "Completed" StorageInitializedCondition = "StorageInitialized" StorageInitializedReasonInProgress = ReasonInProgress StorageInitializedReasonCompleted = ReasonCompleted InitStorageStepCondition = "InitStorageStep" InitStorageStepReasonInProgress = ReasonInProgress InitStorageStepReasonCompleted = ReasonCompleted InitRootStorageStepCondition = "InitRootStorageStep" InitRootStorageStepReasonInProgress = ReasonInProgress InitRootStorageStepReasonNotRequired = ReasonNotRequired InitRootStorageStepReasonCompleted = ReasonCompleted InitCMSStepCondition = "InitCMSStep" InitCMSStepReasonInProgress = ReasonInProgress InitCMSStepReasonCompleted = ReasonCompleted Stop = true Continue = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterState ¶
type ClusterState string
type Reconciler ¶
type Reconciler struct { client.Client Scheme *runtime.Scheme Config *rest.Config Recorder record.EventRecorder Log logr.Logger WithServiceMonitors bool }
Reconciler reconciles a Storage object
func (*Reconciler) Reconcile ¶
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 (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*Reconciler) Sync ¶
func (r *Reconciler) Sync(ctx context.Context, cr *ydbv1alpha1.Storage) (ctrl.Result, error)
Click to show internal directories.
Click to hide internal directories.