clean

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) String

func (bo *Options) String() string

Jump to

Keyboard shortcuts

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