# Functions
DNS subdomains are DNS labels separated by '.', max 253 characters.
SanitizeDNSName sanitizes a string suitable for use in K8s resources that require a DNS 1035 compatible name.
# Constants
MaxDNSNameLength is the limit for some resources Name fields where they can be used as DNS names per RFC 1035.
MaxK8sValueLength is the limit for names that can be used as DNS subdomain values per RFC 1123.
# Variables
ErrEmptyName is returned if an empty string is provided for sanitising.
# Structs
InvalidNameError is returned when a name can't be sanitized.