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

# Functions

ArePodSpecEqual compares two corev1.PodSpec objects and returns true only if they are equal in any of the following: - Length of containers slice - Node selectors - Tolerations, if strict they need to be the same, non-strict for superset check - Containers: Name, Image, VolumeMounts, EnvVar, Args, Ports, ResourceRequirements.
ArePodTemplateSpecEqual compares two corev1.PodTemplateSpec objects and returns true only if pod spec are equal and tolerations are strictly the same.
List returns a list of pods in a namespace that match the given selector.
NewSpec returns a new Builder instance with a default initialized podspec.

# Structs

Builder represents the struct to build k9s podspecs.