package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev

# Functions

Deprecated: Use k8s.io/utils/ptr.To instead.
EnsureCustomResourceDefinitionV1 ensures that the existing matches the required.
EnsureCustomResourceDefinitionV1Beta1 ensures that the existing matches the required.
EnsureObjectMeta writes namespace, name, labels, and annotations.
No description provided by the author
No description provided by the author
No description provided by the author
ExpectedMutatingWebhooksConfiguration returns last applied generation for MutatingWebhookConfiguration resource registered in operator.
ExpectedValidatingWebhooksConfiguration returns last applied generation for ValidatingWebhookConfiguration resource registered in operator.
No description provided by the author
IsRequiredConfigPresent can check an observedConfig to see if certain required paths are present in that config.
MergeConfigMap takes a configmap, the target key, special overlay funcs a list of config configs to overlay on top of each other It returns the resultant configmap and a bool indicating if any changes were made to the configmap.
No description provided by the author
No description provided by the author
MergeProcessConfig merges a series of config yaml files together with each later one overlaying all previous.
MergePrunedConfigMap takes a configmap, the target key, special overlay funcs a list of config configs to overlay on top of each other It returns the resultant configmap and a bool indicating if any changes were made to the configmap.
MergePrunedProcessConfig merges a series of config yaml files together with each later one overlaying all previous.
RemoveConfig is a merge func that elimintes an entire path from the config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetMutatingWebhooksConfigurationGeneration updates operator generation status list with last applied generation for provided MutatingWebhookConfiguration resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetValidatingWebhooksConfigurationGeneration updates operator generation status list with last applied generation for provided ValidatingWebhookConfiguration resource.
WithCleanLabelsAndAnnotations cleans the metadata off the removal annotations/labels/ownerrefs (those that end with trailing "-").

# Type aliases

No description provided by the author