Documentation ¶
Index ¶
Constants ¶
View Source
const JOB_DONE_MARKER = "DONE"
View Source
const VOLUME_PROTECTION = "storage.metalk8s.scality.com/volume-protection"
Variables ¶
This section is empty.
Functions ¶
func SliceAppendUnique ¶
Append `value` to `slice (if not already present).
Arguments
slice: the slice to process target: the value to add.
Returns
A slice with `target` in it.
func SliceRemoveValue ¶
Remove all the occurrences `target` from `slice` (if present).
Arguments
slice: the slice to process target: the value to remove
Returns
A slice without `target`.
Types ¶
type VolumeReconciler ¶
type VolumeReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
VolumeReconciler reconciles a Volume object
func (*VolumeReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*VolumeReconciler) SetupWithManager ¶
func (r *VolumeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.