Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TaskBackupCleaner ¶
func TaskBackupCleaner(state *ReconcileContext, c client.Client, recorder record.EventRecorder) task.Task
func TaskBackupManager ¶
func TaskBackupManager(state *ReconcileContext, c client.Client, recorder record.EventRecorder) task.Task
Types ¶
type BackupState ¶
type BackupState interface {
Backup() *brv1alpha1.Backup
}
type ReconcileContext ¶
type ReconcileContext struct {
State
Config Config
BackupManager backup.BackupManager
BackupCleaner backup.BackupCleaner
}
type State ¶
type State interface {
BackupState
common.ClusterState
common.JobState[*runtime.Backup]
common.ContextClusterNewer[*brv1alpha1.Backup]
}
func NewState ¶
func NewState(backup *brv1alpha1.Backup) State
Click to show internal directories.
Click to hide internal directories.