clean

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudAPIConcurrency = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	StatusUpdater controller.BackupConditionUpdaterInterface
	Options
	// contains filtered or unexported fields
}

Manager mainly used to manage backup related work

func NewManager

func NewManager(
	backupLister listers.BackupLister,
	statusUpdater controller.BackupConditionUpdaterInterface,
	backupOpts Options) *Manager

NewManager return a Manager

func (*Manager) ProcessCleanBackup

func (bm *Manager) ProcessCleanBackup() error

ProcessCleanBackup used to clean the specific backup

type Options

type Options struct {
	Namespace  string
	BackupName string
}

Options contains the input arguments to the backup command

func (*Options) CleanBRRemoteBackupData added in v1.4.4

func (bo *Options) CleanBRRemoteBackupData(ctx context.Context, backup *v1alpha1.Backup) error

CleanBRRemoteBackupData clean the backup data from remote

func (*Options) String

func (bo *Options) String() string

Jump to

Keyboard shortcuts

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