Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupManager ¶
type BackupManager struct {
// contains filtered or unexported fields
}
BackupManager backups an etcd cluster.
func NewBackupManagerFromWriter ¶
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) EnsureMaxBackup ¶
EnsureMaxBackup to ensure the number of snapshot is under maxcount if the number of snapshot exceeded than maxcount, delete oldest snapshot
Click to show internal directories.
Click to hide internal directories.