package
0.0.0-20241029084456-e23afd3fa257
Repository: https://github.com/red-hat-storage/ocs-client-operator.git
Documentation: pkg.go.dev

# Functions

AddAnnotation adds an annotation to a resource metadata, returns true if added else false.
AddAnnotation adds label to a resource metadata, returns true if added else false.
AddLabels adds values from newLabels to the keys on the supplied obj or overwrites values for existing keys on the obj.
No description provided by the author
No description provided by the author
Find returns the first entry matching the function "f" or else return nil.
No description provided by the author
No description provided by the author
GetOperatorNamespace returns the namespace where the operator is deployed.
Name Predicate return a predicate the filter events produced by resources that matches the given name.
NewEventReporter returns EventReporter object.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
Value corresponding to annotation key has desired client hash.
Value corresponding to annotation key has subscription channel.
EventReasonUninstallPending is used when the StorageCluster uninstall is Pending.
EventReasonValidationFailed is used when the StorageCluster spec validation fails.
No description provided by the author
OperatorNamespaceEnvVar is the constant for env variable OPERATOR_NAMESPACE which is the namespace where operator pod is deployed.
OperatorPodNameEnvVar is the constant for env variable OPERATOR_POD_NAME.
No description provided by the author
StorageClientNameEnvVar is the constant for env variable STORAGE_CLIENT_NAME.

# Structs

EventReporter is custom events reporter type which allows user to limit the events.