Documentation ¶
Index ¶
- Variables
- func CreateNewSnapshotMetafile(file string) error
- func DoBackupCreate(replicaBackup *replica.BackupStatus, config *backupstore.DeltaBackupConfig) error
- func DoBackupInit(backupName, volumeName, snapshotName, destURL, backingImageName, ... string, ...) (*replica.BackupStatus, *backupstore.DeltaBackupConfig, 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 DoBackupCreate(replicaBackup *replica.BackupStatus, config *backupstore.DeltaBackupConfig) error
func DoBackupInit ¶ added in v1.4.2
func DoBackupInit(backupName, volumeName, snapshotName, destURL, backingImageName, backingImageChecksum string, labels []string) (*replica.BackupStatus, *backupstore.DeltaBackupConfig, error)
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.