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 Scheme *runtime.Scheme Recorder record.EventRecorder AgentImage string BackupImage string FluentBitImage string ExporterImage string SystemNamespace string ClusterManager clustering.ClusterManager }
MySQLClusterReconciler reconciles a MySQLCluster object
func (*MySQLClusterReconciler) Reconcile ¶
func (r *MySQLClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile implements Reconciler interface. See https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile#Reconciler
func (*MySQLClusterReconciler) SetupWithManager ¶
func (r *MySQLClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PodWatcher ¶ added in v0.9.4
type PodWatcher struct { client.Client ClusterManager clustering.ClusterManager }
PodWatcher watches MySQL pods and informs the cluster manager of the event.
func (*PodWatcher) Reconcile ¶ added in v0.9.4
Reconcile implements Reconciler interface. See https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile#Reconciler
func (*PodWatcher) SetupWithManager ¶ added in v0.9.4
func (r *PodWatcher) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.