Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdBackup ¶
type EtcdBackup interface { SaveSnapshot(ctx context.Context, bname string) error Retrieve(srcBlob, destPath string) error Delete(name string) error Prune() error }
EtcdBackup used to perform backup maintenance
func NewEtcdBackup ¶
func NewEtcdBackup(log *logrus.Entry, etcdContainer storage.Container, etcdClient *clientv3.Client, maxBackups int) EtcdBackup
NewEtcdBackup create a new instance
Click to show internal directories.
Click to hide internal directories.