package
2.16.1
Repository: https://github.com/elastic/cloud-on-k8s.git
Documentation: pkg.go.dev

# Functions

NewNamer creates a new Namer object with the default suffix length restriction.

# Constants

MaxResourceNameLength is the max length of a name that will keep all its child resources under the K8S max label length after accounting for the longest suffix that could be added by the operator.
MaxSuffixLength is the max allowed suffix length that will keep a name within K8S label length restrictions.

# Structs

Namer assists with constructing names for K8s resources and avoiding collisions by ensuring that certain suffixes are always used, and prevents the use of too long suffixes.