Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName used for identifying which controller is performing an operation.
ControllerName = "restore-controller"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileRestore ¶
type ReconcileRestore struct { client.Client Config *rest.Config // contains filtered or unexported fields }
ReconcileRestore reconciles a Restore object
func (*ReconcileRestore) Reconcile ¶
Reconcile reads that state of the cluster for a Restore object and makes changes based on the state read and what is in the Restore.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=batch,resources=jobs/status,verbs=get +kubebuilder:rbac:groups=extensions.skpr.io,resources=restores,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=extensions.skpr.io,resources=restores/status,verbs=get;update;patch
Click to show internal directories.
Click to hide internal directories.