backup

package
v1.5.1-hotfix Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackupManager

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.

Jump to

Keyboard shortcuts

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