Documentation ¶
Index ¶
- type BackupReconciler
- type ConnectionReconciler
- type DatabaseReconciler
- type GrantReconciler
- type MariaDBReconciler
- type PodController
- type PodGaleraController
- type PodReadinessController
- type PodReplicationController
- type RestoreReconciler
- type SqlJobReconciler
- type StatefulSetGaleraReconciler
- type UserReconciler
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 Builder *builder.Builder RefResolver *refresolver.RefResolver ConditionComplete *conditions.Complete BatchReconciler *batch.BatchReconciler }
BackupReconciler reconciles a Backup object
func (*BackupReconciler) 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 (*BackupReconciler) SetupWithManager ¶
func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConnectionReconciler ¶
type ConnectionReconciler struct { client.Client Scheme *runtime.Scheme Builder *builder.Builder RefResolver *refresolver.RefResolver ConditionReady *conditions.Ready RequeueInterval time.Duration }
ConnectionReconciler reconciles a Connection object
func (*ConnectionReconciler) Reconcile ¶
func (r *ConnectionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*ConnectionReconciler) SetupWithManager ¶
func (r *ConnectionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatabaseReconciler ¶
type DatabaseReconciler struct { client.Client Scheme *runtime.Scheme RefResolver *refresolver.RefResolver ConditionReady *conditions.Ready }
DatabaseReconciler reconciles a Database object
func (*DatabaseReconciler) 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 (*DatabaseReconciler) SetupWithManager ¶
func (r *DatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GrantReconciler ¶
type GrantReconciler struct { client.Client Scheme *runtime.Scheme RefResolver *refresolver.RefResolver ConditionReady *conditions.Ready }
GrantReconciler reconciles a Grant object
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 ¶
func (r *GrantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MariaDBReconciler ¶
type MariaDBReconciler struct { client.Client Scheme *runtime.Scheme Builder *builder.Builder RefResolver *refresolver.RefResolver ConditionReady *conditions.Ready ServiceMonitorReconciler bool ConfigMapReconciler *configmap.ConfigMapReconciler SecretReconciler *secret.SecretReconciler ServiceReconciler *service.ServiceReconciler EndpointsReconciler *endpoints.EndpointsReconciler RBACReconciler *rbac.RBACReconciler ReplicationReconciler *replication.ReplicationReconciler GaleraReconciler *galera.GaleraReconciler }
MariaDBReconciler reconciles a MariaDB object
func (*MariaDBReconciler) 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 (*MariaDBReconciler) SetupWithManager ¶
func (r *MariaDBReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PodController ¶ added in v0.0.20
PodController reconciles a Pod object
func NewPodController ¶ added in v0.0.20
func NewPodController(client client.Client, refResolver *refresolver.RefResolver, podReadinessController PodReadinessController, podAnnotations []string) *PodController
func (*PodController) Reconcile ¶ added in v0.0.20
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 (*PodController) SetupWithManager ¶ added in v0.0.20
func (r *PodController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PodGaleraController ¶ added in v0.0.20
PodGaleraController reconciles a Pod object
func (*PodGaleraController) ReconcilePodNotReady ¶ added in v0.0.20
func (r *PodGaleraController) ReconcilePodNotReady(ctx context.Context, pod corev1.Pod, mariadb *mariadbv1alpha1.MariaDB) error
func (*PodGaleraController) ReconcilePodReady ¶ added in v0.0.20
func (r *PodGaleraController) ReconcilePodReady(ctx context.Context, pod corev1.Pod, mariadb *mariadbv1alpha1.MariaDB) error
type PodReadinessController ¶ added in v0.0.20
type PodReadinessController interface { ReconcilePodReady(context.Context, corev1.Pod, *mariadbv1alpha1.MariaDB) error ReconcilePodNotReady(context.Context, corev1.Pod, *mariadbv1alpha1.MariaDB) error }
func NewPodGaleraController ¶ added in v0.0.20
func NewPodGaleraController(client client.Client, recorder record.EventRecorder) PodReadinessController
func NewPodReplicationController ¶ added in v0.0.20
func NewPodReplicationController(client client.Client, recorder record.EventRecorder, builder *builder.Builder, refResolver *refresolver.RefResolver, replConfig *replication.ReplicationConfig) PodReadinessController
type PodReplicationController ¶ added in v0.0.16
PodReplicationController reconciles a Pod object
func (*PodReplicationController) ReconcilePodNotReady ¶ added in v0.0.20
func (r *PodReplicationController) ReconcilePodNotReady(ctx context.Context, pod corev1.Pod, mariadb *mariadbv1alpha1.MariaDB) error
func (*PodReplicationController) ReconcilePodReady ¶ added in v0.0.20
func (r *PodReplicationController) ReconcilePodReady(ctx context.Context, pod corev1.Pod, mariadb *mariadbv1alpha1.MariaDB) error
type RestoreReconciler ¶
type RestoreReconciler struct { client.Client Scheme *runtime.Scheme Builder *builder.Builder RefResolver *refresolver.RefResolver ConditionComplete *conditions.Complete BatchReconciler *batch.BatchReconciler }
RestoreReconciler reconciles a restore object
func (*RestoreReconciler) 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 (*RestoreReconciler) SetupWithManager ¶
func (r *RestoreReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SqlJobReconciler ¶
type SqlJobReconciler struct { client.Client Scheme *runtime.Scheme Builder *builder.Builder RefResolver *refresolver.RefResolver ConditionComplete *conditions.Complete ConfigMapReconciler *configmap.ConfigMapReconciler RequeueInterval time.Duration }
SqlJobReconciler reconciles a SqlJob object
func (*SqlJobReconciler) 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 (*SqlJobReconciler) SetupWithManager ¶
func (r *SqlJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type StatefulSetGaleraReconciler ¶ added in v0.0.16
type StatefulSetGaleraReconciler struct { client.Client Recorder record.EventRecorder RefResolver *refresolver.RefResolver }
func (*StatefulSetGaleraReconciler) Reconcile ¶ added in v0.0.16
func (r *StatefulSetGaleraReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*StatefulSetGaleraReconciler) SetupWithManager ¶ added in v0.0.16
func (r *StatefulSetGaleraReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UserReconciler ¶
type UserReconciler struct { client.Client Scheme *runtime.Scheme RefResolver *refresolver.RefResolver ConditionReady *conditions.Ready }
UserReconciler reconciles a User object
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 ¶
func (r *UserReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
- backup_controller.go
- connection_controller.go
- database_controller.go
- database_controller_finalizer.go
- grant_controller.go
- grant_controller_finalizer.go
- mariadb_controller.go
- mariadb_controller_metrics.go
- pod_controller.go
- pod_galera_controller.go
- pod_replication_controller.go
- restore_controller.go
- sqljob_controller.go
- statefulset_galera_controller.go
- suite_test_data.go
- user_controller.go
- user_controller_finalizer.go