backup

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupManager added in v0.6.1

type BackupManager struct {
	// contains filtered or unexported fields
}

BackupManager backups an etcd cluster.

func NewBackupManagerFromWriter added in v0.7.0

func NewBackupManagerFromWriter(kubecli kubernetes.Interface, bw writer.Writer, tc *tls.Config, endpoints []string, namespace string) *BackupManager

NewBackupManagerFromWriter creates a BackupManager with backup writer.

func (*BackupManager) SaveSnap added in v0.6.1

func (bm *BackupManager) SaveSnap(ctx context.Context, s3Path string) (int64, string, error)

SaveSnap uses backup writer to save etcd snapshot to a specified S3 path and returns backup etcd server's kv store revision and its version.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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