Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLClusterReconciler ¶
type MySQLClusterReconciler struct { client.Client Log logr.Logger Recorder record.EventRecorder Scheme *runtime.Scheme BinaryCopyContainerImage string ConfInitContainerImage string CurlContainerImage string MySQLAccessor accessor.DataBaseAccessor WaitTime time.Duration }
MySQLClusterReconciler reconciles a MySQLCluster object
func (*MySQLClusterReconciler) Reconcile ¶
func (r *MySQLClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles MySQLCluster.
func (*MySQLClusterReconciler) SetupWithManager ¶
func (r *MySQLClusterReconciler) SetupWithManager(mgr ctrl.Manager, watcherInterval time.Duration) error
SetupWithManager sets up the controller for reconciliation.
type Operation ¶ added in v0.2.0
type Operation struct { Operators []ops.Operator Wait bool Conditions []mocov1alpha1.MySQLClusterCondition SyncedReplicas *int Phase moco.OperationPhase Event *moco.MOCOEvent }
Operation defines operations to MySQL Cluster
Click to show internal directories.
Click to hide internal directories.