controllers

package
v0.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageConsumerAnnotation     = "ocs.openshift.io.storageconsumer"
	StorageClaimAnnotation        = "ocs.openshift.io.storageclaim"
	StorageCephUserTypeAnnotation = "ocs.openshift.io.cephusertype"
)

Variables

This section is empty.

Functions

This section is empty.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL