Documentation ¶
Index ¶
- func NewRestoreManager(deps *controller.BrFedDependencies) fedvolumebackup.RestoreManager
- type FakeRestoreManager
- func (m *FakeRestoreManager) IsStatusUpdated() bool
- func (m *FakeRestoreManager) SetSyncError(err error)
- func (m *FakeRestoreManager) SetUpdateStatus()
- func (m *FakeRestoreManager) Sync(volumeRestore *v1alpha1.VolumeRestore) error
- func (m *FakeRestoreManager) UpdateStatus(volumeRestore *v1alpha1.VolumeRestore, newStatus *v1alpha1.VolumeRestoreStatus) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRestoreManager ¶
func NewRestoreManager(deps *controller.BrFedDependencies) fedvolumebackup.RestoreManager
NewRestoreManager return restoreManager
Types ¶
type FakeRestoreManager ¶
type FakeRestoreManager struct {
// contains filtered or unexported fields
}
func NewFakeRestoreManager ¶
func NewFakeRestoreManager() *FakeRestoreManager
func (*FakeRestoreManager) IsStatusUpdated ¶
func (m *FakeRestoreManager) IsStatusUpdated() bool
func (*FakeRestoreManager) SetSyncError ¶
func (m *FakeRestoreManager) SetSyncError(err error)
func (*FakeRestoreManager) SetUpdateStatus ¶
func (m *FakeRestoreManager) SetUpdateStatus()
func (*FakeRestoreManager) Sync ¶
func (m *FakeRestoreManager) Sync(volumeRestore *v1alpha1.VolumeRestore) error
func (*FakeRestoreManager) UpdateStatus ¶
func (m *FakeRestoreManager) UpdateStatus(volumeRestore *v1alpha1.VolumeRestore, newStatus *v1alpha1.VolumeRestoreStatus) error
UpdateStatus updates the status for a VolumeRestore, include condition and status info.
Click to show internal directories.
Click to hide internal directories.