Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBackupCtor ¶
func UnregisterBackupCtor ¶
func UnregisterBackupCtor(cType string)
Types ¶
type BackupDriver ¶
type BackupDriver interface { SetUp() error Backup(backup *BackupSpec, volumeFile *os.File) error Restore(backup *BackupSpec, backupId string, volFile *os.File) error Delete(backup *BackupSpec) error CleanUp() error }
func NewBackup ¶
func NewBackup(backupDriverName string) (BackupDriver, error)
Click to show internal directories.
Click to hide internal directories.