export

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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupManager

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

BackupManager mainly used to manage backup related work

func NewBackupManager

func NewBackupManager(
	backupLister listers.BackupLister,
	statusUpdater controller.BackupConditionUpdaterInterface,
	backupOpts Options) *BackupManager

NewBackupManager return a BackupManager

func (*BackupManager) ProcessBackup

func (bm *BackupManager) ProcessBackup() error

ProcessBackup used to process the backup logic

type Options

type Options struct {
	backupUtil.GenericOptions
	Bucket      string
	Prefix      string
	StorageType string
}

Options contains the input arguments to the backup command

Jump to

Keyboard shortcuts

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