Documentation ¶
Index ¶
Constants ¶
View Source
const ( StorageConsumerAnnotation = "ocs.openshift.io.storageconsumer" StorageRequestAnnotation = "ocs.openshift.io.storagerequest" StorageCephUserTypeAnnotation = "ocs.openshift.io.cephusertype" ConsumerUUIDLabel = "ocs.openshift.io/storageconsumer-uuid" StorageConsumerNameLabel = "ocs.openshift.io/storageconsumer-name" )
Variables ¶
This section is empty.
Functions ¶
func GenerateHashForCephClient ¶ added in v0.4.11
Types ¶
type StorageConsumerReconciler ¶
type StorageConsumerReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
StorageConsumerReconciler reconciles a StorageConsumer object
func (*StorageConsumerReconciler) Reconcile ¶
func (r *StorageConsumerReconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a StorageConsumer object and makes changes based on the state read and what is in the StorageConsumer.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*StorageConsumerReconciler) SetupWithManager ¶
func (r *StorageConsumerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.