restore

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestoreManager

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL