Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName = "backup-restic-controller"
ControllerName used for identifying which controller is performing an operation.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶
type Params struct {
Pod resticutils.PodSpecParams
CronJob ParamsCronJob
}
Params which are passed into this controller.
type ParamsCronJob ¶
type ParamsCronJob struct {
StartingDeadline int64
ActiveDeadline int64
BackoffLimit int32
SuccessHistory int32
FailedHistory int32
}
ParamsCronJob used for grouping CronJob configuration.
type ReconcileBackup ¶
ReconcileBackup reconciles a Backup object
func (*ReconcileBackup) Reconcile ¶
Reconcile reads that state of the cluster for a Backup object and makes changes based on the state read and what is in the Backup.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=extensions.skpr.io,resources=backups,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=extensions.skpr.io,resources=backups/status,verbs=get;update;patch
Click to show internal directories.
Click to hide internal directories.