backup

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackupManager

func NewBackupManager(deps *controller.Dependencies) backup.BackupManager

NewBackupManager return backupManager

Types

type BackupCleaner

type BackupCleaner interface {
	Clean(backup *v1alpha1.Backup) error
}

BackupCleaner implements the logic for cleaning backup

func NewBackupCleaner

NewBackupCleaner returns a BackupCleaner

type FakeBackupManager

type FakeBackupManager struct {
	// contains filtered or unexported fields
}

func NewFakeBackupManager

func NewFakeBackupManager() *FakeBackupManager

func (*FakeBackupManager) SetSyncError

func (m *FakeBackupManager) SetSyncError(err error)

func (*FakeBackupManager) Sync

func (m *FakeBackupManager) Sync(_ *v1alpha1.Backup) error

Jump to

Keyboard shortcuts

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