Documentation
¶
Index ¶
- type EtcdBackupReconciler
- type EtcdBackupScheduleReconciler
- type EtcdClusterReconciler
- func (r *EtcdClusterReconciler) GetEtcdClient(ctx context.Context, cluster *etcdaenixiov1alpha1.EtcdCluster) (*clientv3.Client, error)
- func (r *EtcdClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *EtcdClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdBackupReconciler ¶ added in v0.4.3
EtcdBackupReconciler reconciles a EtcdBackup object
func (*EtcdBackupReconciler) Reconcile ¶ added in v0.4.3
func (r *EtcdBackupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile handles EtcdBackup resources by creating backup Jobs and tracking their status.
func (*EtcdBackupReconciler) SetupWithManager ¶ added in v0.4.3
func (r *EtcdBackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EtcdBackupScheduleReconciler ¶ added in v0.4.3
type EtcdBackupScheduleReconciler struct {
client.Client
Scheme *runtime.Scheme
OperatorImage string
}
EtcdBackupScheduleReconciler reconciles a github.com/aenix-io/etcd-operator/api/v1alpha1.EtcdBackupSchedule object
func (*EtcdBackupScheduleReconciler) Reconcile ¶ added in v0.4.3
func (r *EtcdBackupScheduleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile handles EtcdBackupSchedule resources by creating CronJobs and tracking their status.
func (*EtcdBackupScheduleReconciler) SetupWithManager ¶ added in v0.4.3
func (r *EtcdBackupScheduleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type EtcdClusterReconciler ¶
EtcdClusterReconciler reconciles a EtcdCluster object
func (*EtcdClusterReconciler) GetEtcdClient ¶ added in v0.3.0
func (r *EtcdClusterReconciler) GetEtcdClient(ctx context.Context, cluster *etcdaenixiov1alpha1.EtcdCluster) (*clientv3.Client, error)
func (*EtcdClusterReconciler) Reconcile ¶
func (r *EtcdClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile checks CR and current cluster state and performs actions to transform current state to desired.
func (*EtcdClusterReconciler) SetupWithManager ¶
func (r *EtcdClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.