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.
Click to show internal directories.
Click to hide internal directories.