backup

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 2 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 interface {
	// Sync	implements the logic for syncing Backup.
	Sync(backup *v1alpha1.Backup) error
	// UpdateStatus updates the status for a Backup, include condition and status info.
	UpdateStatus(backup *v1alpha1.Backup, condition *v1alpha1.BackupCondition, newStatus *controller.BackupUpdateStatus) error
}

BackupManager implements the logic for manage backup.

type BackupScheduleManager

type BackupScheduleManager interface {
	// Sync	implements the logic for syncing BackupSchedule.
	Sync(backup *v1alpha1.BackupSchedule) error
}

BackupScheduleManager implements the logic for manage backupSchedule.

type RestoreManager

type RestoreManager interface {
	// Sync	implements the logic for syncing Restore.
	Sync(backup *v1alpha1.Restore) error
	// UpdateCondition updates the condition for a Restore.
	UpdateCondition(restore *v1alpha1.Restore, condition *v1alpha1.RestoreCondition) error
}

RestoreManager implements the logic for manage restore.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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