backup

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: 30 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) ProcessBackup

func (bm *Manager) ProcessBackup() error

ProcessBackup used to process the backup logic

type Options

type Options struct {
	backupUtil.GenericOptions
}

Options contains the input arguments to the backup command

type VolumeBackupInitializeManager added in v1.5.0

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

VolumeBackupInitializeManager manages volume backup initializing status

func (*VolumeBackupInitializeManager) UpdateBackupStatus added in v1.5.0

func (vb *VolumeBackupInitializeManager) UpdateBackupStatus(logLine string)

UpdateBackupStatus extracts information from log line and update backup status to VolumeBackupInitialized when GC and PD schedules are all stopped

Jump to

Keyboard shortcuts

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