Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefragDataPeriodically ¶
func DefragDataPeriodically(ctx context.Context, etcdConnectionConfig *brtypes.EtcdConnectionConfig, defragmentationSchedule cron.Schedule, callback CallbackFunc, logger *logrus.Entry)
DefragDataPeriodically defragments the data directory of each etcd member.
func NewDefragmentorJob ¶
func NewDefragmentorJob(ctx context.Context, etcdConnectionConfig *brtypes.EtcdConnectionConfig, logger *logrus.Entry, callback CallbackFunc) cron.Job
NewDefragmentorJob returns the new defragmentor job.
Types ¶
Click to show internal directories.
Click to hide internal directories.