backup

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VERSION = "0.0.0"
)

Functions

func CreateNewSnapshotMetafile added in v0.6.0

func CreateNewSnapshotMetafile(file string) error

func DoBackupCreate added in v0.6.0

func DoBackupCreate(volumeName string, snapshotName string, destURL string,
	labels []string) (string, *replica.BackupStatus, error)

func DoBackupRestore added in v0.6.0

func DoBackupRestore(backupURL string, toFile string, restoreObj *replica.RestoreStatus) error

func DoBackupRestoreIncrementally added in v0.6.0

func DoBackupRestoreIncrementally(url string, deltaFile string, lastRestored string,
	restoreObj *replica.RestoreStatus) error

func RequiredMissingError added in v0.3.0

func RequiredMissingError(name string) error

func ResponseLogAndError added in v0.3.0

func ResponseLogAndError(v interface{})

func ResponseOutput

func ResponseOutput(v interface{}) ([]byte, error)

ResponseOutput would generate a JSON format byte array of object for output

Types

type ErrorResponse added in v0.3.0

type ErrorResponse struct {
	Error string
}

Jump to

Keyboard shortcuts

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