Documentation ¶
Index ¶
- type BackupAPI
- func (bk *BackupAPI) Delete(IDs []string) (int64, error)
- func (bk *BackupAPI) GetBackupFilesList() ([]interface{}, error)
- func (bk *BackupAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error)
- func (bk *BackupAPI) RunOnDemandBackup(input *backupTY.OnDemandBackupConfig) error
- func (bk *BackupAPI) RunRestore(file backupTY.BackupFile) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupAPI ¶
type BackupAPI struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, logger *zap.Logger, backupRestore *backupRestore.BackupRestore, storage storageTY.Plugin, bus busTY.Plugin, enc *encryptionAPI.Encryption) *BackupAPI
func (*BackupAPI) GetBackupFilesList ¶
GetBackupFilesList details
func (*BackupAPI) List ¶
func (bk *BackupAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error)
List by filter and pagination
func (*BackupAPI) RunOnDemandBackup ¶
func (bk *BackupAPI) RunOnDemandBackup(input *backupTY.OnDemandBackupConfig) error
triggers on demand export
func (*BackupAPI) RunRestore ¶
func (bk *BackupAPI) RunRestore(file backupTY.BackupFile) error
RunRestore func
Click to show internal directories.
Click to hide internal directories.