etcdbackup

package
v10.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL