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 TenantCreationRequeueDelay = 30 * time.Second StorageAwaitRequeueDelay = 60 * time.Second TenantInitializedCondition = "TenantInitialized" TenantInitializedReasonInProgress = "InProgres" TenantInitializedReasonCompleted = "Completed" Stop = true Continue = false )
Variables ¶
View Source
var ErrIncorrectDatabaseResourcesConfiguration = errors.New("incorrect database resources configuration, " +
"must be one of: Resources, SharedResources, ServerlessResources")
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 }
Reconciler reconciles a Database 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, ydbCr *ydbv1alpha1.Database) (ctrl.Result, error)
Click to show internal directories.
Click to hide internal directories.