Documentation ¶
Index ¶
- func NewBackupManager(deps *controller.BrFedDependencies) fedvolumebackup.BackupManager
- type FakeBackupManager
- func (m *FakeBackupManager) IsStatusUpdated() bool
- func (m *FakeBackupManager) SetSyncError(err error)
- func (m *FakeBackupManager) SetUpdateStatus()
- func (m *FakeBackupManager) Sync(volumeBackup *v1alpha1.VolumeBackup) error
- func (m *FakeBackupManager) UpdateStatus(_ *v1alpha1.VolumeBackup, newStatus *v1alpha1.VolumeBackupStatus) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackupManager ¶
func NewBackupManager(deps *controller.BrFedDependencies) fedvolumebackup.BackupManager
NewBackupManager return backupManager
Types ¶
type FakeBackupManager ¶
type FakeBackupManager struct {
// contains filtered or unexported fields
}
func NewFakeBackupManager ¶
func NewFakeBackupManager() *FakeBackupManager
func (*FakeBackupManager) IsStatusUpdated ¶
func (m *FakeBackupManager) IsStatusUpdated() bool
func (*FakeBackupManager) SetSyncError ¶
func (m *FakeBackupManager) SetSyncError(err error)
func (*FakeBackupManager) SetUpdateStatus ¶
func (m *FakeBackupManager) SetUpdateStatus()
func (*FakeBackupManager) Sync ¶
func (m *FakeBackupManager) Sync(volumeBackup *v1alpha1.VolumeBackup) error
func (*FakeBackupManager) UpdateStatus ¶
func (m *FakeBackupManager) UpdateStatus(_ *v1alpha1.VolumeBackup, newStatus *v1alpha1.VolumeBackupStatus) error
UpdateStatus updates the status for a Backup, include condition and status info.
Click to show internal directories.
Click to hide internal directories.