backup

package
v1.1.1-preview1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VERSION = "0.0.0"
)

Functions

func CreateNewSnapshotMetafile

func CreateNewSnapshotMetafile(file string) error

func DoBackupCreate

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

func DoBackupRestore

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

func DoBackupRestoreIncrementally

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

func RequiredMissingError

func RequiredMissingError(name string) error

func ResponseLogAndError

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

type ErrorResponse struct {
	Error string
}

Jump to

Keyboard shortcuts

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