Documentation
¶
Overview ¶
Copyright (c) 2025 Electronic Arts Inc. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupReconciler ¶
type BackupReconciler struct {
client.Client
Scheme *runtime.Scheme
RefResolver *refresolver.RefResolver
BackupReconciler *backup.Reconciler
}
BackupReconciler reconciles a Backup object.
func (*BackupReconciler) SetupWithManager ¶
func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BackupScheduleReconciler ¶
type BackupScheduleReconciler struct {
client.Client
Scheme *runtime.Scheme
RefResolver *refresolver.RefResolver
ScheduleReconciler *backupschedule.Reconciler
}
BackupScheduleReconciler reconciles a BackupSchedule object.
func (*BackupScheduleReconciler) SetupWithManager ¶
func (r *BackupScheduleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatabaseReconciler ¶
type DatabaseReconciler struct {
client.Client
RefResolver *refresolver.RefResolver
ConditionReady *conditions.Ready
SqlOpts []database.SqlOpt
Scheme *runtime.Scheme
}
DatabaseReconciler reconciles a Database object
func NewDatabaseReconciler ¶
func NewDatabaseReconciler(client client.Client, refResolver *refresolver.RefResolver, conditionReady *conditions.Ready, sqlOpts ...database.SqlOpt) *DatabaseReconciler
func (*DatabaseReconciler) Reconcile ¶
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
func (*DatabaseReconciler) SetupWithManager ¶
func (r *DatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DoltDBReconciler ¶
type DoltDBReconciler struct {
client.Client
Scheme *runtime.Scheme
Builder *builder.Builder
ConditionReady *conditions.Ready
RefResolver *refresolver.RefResolver
RBACReconciler *rbac.Reconciler
ConfigMapReconciler *configmap.Reconciler
ServiceReconciler *service.Reconciler
StatefulSetReconciler *stsctrl.Reconciler
StorageReconciler *storage.Reconciler
StatusReconciler *status.Reconciler
ReplicationReconciler *replication.ReplicationReconciler
}
DoltDBReconciler reconciles a DoltDB object
func (*DoltDBReconciler) 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 (*DoltDBReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type GrantReconciler ¶
type GrantReconciler struct {
client.Client
RefResolver *refresolver.RefResolver
ConditionReady *conditions.Ready
SqlOpts []database.SqlOpt
}
GrantReconciler reconciles a Grant object
func NewGrantReconciler ¶
func NewGrantReconciler(client client.Client, refResolver *refresolver.RefResolver, conditionReady *conditions.Ready, sqlOpts ...database.SqlOpt) *GrantReconciler
func (*GrantReconciler) 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 (*GrantReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type PodController ¶
PodController reconciles a Pod object
func NewPodController ¶
func NewPodController(name string, client client.Client, refResolver *refresolver.RefResolver, failoverController *replication.PodReadinessController, podAnnotations []string) *PodController
NewPodController creates a new PodController
func (*PodController) 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. Reconcile reconciles a Pod resource to ensure it is in the desired state. It fetches the Pod object, resolves the associated DoltDB from annotations, and handles the Pod's readiness state.
func (*PodController) SetupWithManager ¶
func (r *PodController) SetupWithManager(mgr ctrl.Manager) error
type SnapshotReconciler ¶
type SnapshotReconciler struct {
client.Client
Scheme *runtime.Scheme
Builder *builder.Builder
RefResolver *refresolver.RefResolver
VolumeSnapshotReconciler *volumesnapshot.Reconciler
ConditionReady *conditions.Ready
}
SnapshotReconciler reconciles a Snapshot object
func (*SnapshotReconciler) PatchStatus ¶
func (r *SnapshotReconciler) PatchStatus(ctx context.Context, snapshot *doltv1alpha.Snapshot, patcher conditions.Patcher) error
func (*SnapshotReconciler) 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. the Snapshot object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
func (*SnapshotReconciler) SetupWithManager ¶
func (r *SnapshotReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UserReconciler ¶
type UserReconciler struct {
client.Client
RefResolver *refresolver.RefResolver
ConditionReady *conditions.Ready
SqlOpts []database.SqlOpt
}
UserReconciler reconciles a User object
func NewUserReconciler ¶
func NewUserReconciler(client client.Client, refResolver *refresolver.RefResolver, conditionReady *conditions.Ready, dbOpts ...database.SqlOpt) *UserReconciler
NewUserReconciler creates a new UserReconciler.
func (*UserReconciler) 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 (*UserReconciler) SetupWithManager ¶
SetupWithManager sets up the UserReconciler with the provided manager.