Documentation ¶
Index ¶
- Variables
- func CreateNewSnapshotMetafile(file string) error
- func DoBackupCreate(replicaBackup *replica.BackupStatus, config *backupstore.DeltaBackupConfig) error
- func DoBackupInit(params *CreateBackupParameters) (*replica.BackupStatus, *backupstore.DeltaBackupConfig, error)
- func DoBackupRestore(backupURL string, toFile string, concurrentLimit int, ...) error
- func DoBackupRestoreIncrementally(url string, deltaFile string, lastRestored string, concurrentLimit int, ...) error
- func RequiredMissingError(name string) error
- func ResponseLogAndError(v interface{})
- func ResponseOutput(v interface{}) ([]byte, error)
- type CreateBackupParameters
- 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(params *CreateBackupParameters) (*replica.BackupStatus, *backupstore.DeltaBackupConfig, error)
func DoBackupRestore ¶
func RequiredMissingError ¶
func ResponseLogAndError ¶
func ResponseLogAndError(v interface{})
func ResponseOutput ¶
ResponseOutput would generate a JSON format byte array of object for output
Types ¶
type CreateBackupParameters ¶ added in v1.5.0
type ErrorResponse ¶
type ErrorResponse struct {
Error string
}
Click to show internal directories.
Click to hide internal directories.