Documentation ¶
Index ¶
- Variables
- func CreateNewSnapshotMetafile(file string) error
- func DoBackupCreate(volumeName string, snapshotName string, destURL string, labels []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 CreateNewSnapshotMetafile ¶ added in v0.6.0
func DoBackupCreate ¶ added in v0.6.0
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 RequiredMissingError ¶ added in v0.3.0
func ResponseLogAndError ¶ added in v0.3.0
func ResponseLogAndError(v interface{})
func ResponseOutput ¶
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
}
Click to show internal directories.
Click to hide internal directories.