backup

package
v0.0.0-...-f6121d7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

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
}

func NewBackupManager

func NewBackupManager(cluster string, config *rest.Config, sanitize bool) BackupManager

func (BackupManager) Backup

func (mgr BackupManager) Backup(process processorFunc) error

func (BackupManager) BackupToDir

func (mgr BackupManager) BackupToDir(backupDir string) (string, error)

func (BackupManager) BackupToTar

func (mgr BackupManager) BackupToTar(backupDir string) (string, error)

type ItemList

type ItemList struct {
	Items []map[string]interface{} `json:"items,omitempty"`
}

Jump to

Keyboard shortcuts

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