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

# Functions

AnnotationsEqual returns true if the annotations of the two resources are the same.
CreateOrUpdate attempts first to get the given secret.
DataEqual returns true only if the data of current and desired are exactly same.
Delete attempts to delete a k8s secret if existing or returns an error.
Get returns the k8s secret for the given object key or an error.
GetDataSHA256 returns the sha256 checksum of the secret data keys.
MutateAnnotationsOnly is a mutation function for secrets that only copies the annotations from desired to current.
MutateDataOnly is a default mutation function for secrets that copies only the data field from desired to current.
New provides a k8s secret.

# Type aliases

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