controllers

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

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

func GenerateHashForCephClient(storageConsumerName, cephUserType string) string

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