Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronScheduler ¶ added in v0.2.0
type EtcdBackupReconciler ¶
type EtcdBackupReconciler struct { client.Client Log logr.Logger // An absolute path to a directory which will contain backups that have not yet been pushed to their destination. TempDir string }
EtcdBackupReconciler reconciles a EtcdBackup object
func (*EtcdBackupReconciler) SetupWithManager ¶
func (r *EtcdBackupReconciler) SetupWithManager(mgr ctrl.Manager) error
type EtcdBackupScheduleReconciler ¶
type EtcdBackupScheduleReconciler struct { client.Client Log logr.Logger // CronHandler is able to schedule cronjobs to occur at given times. CronHandler CronScheduler // Schedules holds a mapping of resources to the object responsible for scheduling the backup to be taken. Schedules *ScheduleMap }
EtcdBackupScheduleReconciler reconciles a EtcdBackupSchedule object
func (*EtcdBackupScheduleReconciler) SetupWithManager ¶
func (r *EtcdBackupScheduleReconciler) SetupWithManager(mgr ctrl.Manager) error
type EtcdClusterReconciler ¶
type EtcdClusterReconciler struct { client.Client Log logr.Logger Recorder record.EventRecorder Etcd etcd.APIBuilder }
EtcdClusterReconciler reconciles a EtcdCluster object
func (*EtcdClusterReconciler) SetupWithManager ¶
func (r *EtcdClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
type EtcdPeerReconciler ¶
EtcdPeerReconciler reconciles a EtcdPeer object
func (*EtcdPeerReconciler) SetupWithManager ¶
func (r *EtcdPeerReconciler) SetupWithManager(mgr ctrl.Manager) error
type MembersByName ¶ added in v0.2.0
type MembersByName []etcdclient.Member
MembersByName provides a sort.Sort interface for etcdClient.Member.Name
func (MembersByName) Len ¶ added in v0.2.0
func (a MembersByName) Len() int
func (MembersByName) Less ¶ added in v0.2.0
func (a MembersByName) Less(i, j int) bool
func (MembersByName) Swap ¶ added in v0.2.0
func (a MembersByName) Swap(i, j int)
type PeerPVCDeleter ¶ added in v0.2.0
type PeerPVCDeleter struct {
// contains filtered or unexported fields
}
PeerPVCDeleter deletes the PVC for an EtcdPeer and removes the PVC deletion finalizer.
type ScheduleMap ¶ added in v0.2.0
ScheduleMap is a thread-safe mapping of backup schedules.
func NewScheduleMap ¶ added in v0.2.0
func NewScheduleMap() *ScheduleMap
func (*ScheduleMap) Delete ¶ added in v0.2.0
func (s *ScheduleMap) Delete(key string)
func (*ScheduleMap) Write ¶ added in v0.2.0
func (s *ScheduleMap) Write(key string, value Schedule)
Click to show internal directories.
Click to hide internal directories.