package
0.0.0-20241202183904-81cd6e70c15e
Repository: https://github.com/openshift/elasticsearch-operator.git
Documentation: pkg.go.dev

# Functions

AnnotationsEqual return only true if the configmaps have equal annotations sections only.
Create will create the given configmap on the api server or return an error on failure.
CreateOrUpdate attempts first to get the given configmap.
DataEqual return only true if the configmaps have equal data sections only.
Delete attempts to delete a k8s configmap if existing or returns an error.
Get returns the k8s configmap for the given object key or an error.
GetDataSHA256 returns the sha256 checksum of the confimap data keys.
LabelEqual return only true if the configmaps have equal label sections only.
MutateAnnotationsOnly is a default mutate function implementation that copies only the annotations section from desired to current configmap.
MutateDataOnly is a default mutate function implementation that copies only the data section from desired to current configmap.
New returns a new k8s configmap.

# Type aliases

EqualityFunc is the type for functions that compare two configmaps.
MutateFunc is the type for functions that mutate the current configmap by applying the values from the desired configmap.