Documentation ¶
Index ¶
- Variables
- func CreateNewSnapshotMetafile(file string) error
- func DoBackupCreate(volumeName, snapshotName, destURL, backingImageName, backingImageURL string, ...) (string, *replica.BackupStatus, error)
- func DoBackupRestore(backupURL string, toFile string, restoreObj *replica.RestoreStatus) error
- func DoBackupRestoreIncrementally(url string, deltaFile string, lastRestored string, ...) error
- func RequiredMissingError(name string) error
- func ResponseLogAndError(v interface{})
- func ResponseOutput(v interface{}) ([]byte, error)
- type ErrorResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var (
VERSION = "0.0.0"
)
Functions ¶
func DoBackupCreate ¶
func DoBackupRestore ¶
func DoBackupRestore(backupURL string, toFile string, restoreObj *replica.RestoreStatus) error
func RequiredMissingError ¶
func ResponseLogAndError ¶
func ResponseLogAndError(v interface{})
func ResponseOutput ¶
ResponseOutput would generate a JSON format byte array of object for output
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string
}
Click to show internal directories.
Click to hide internal directories.