Documentation
¶
Overview ¶
Package dnslabel normalizes arbitrary strings into DNS-label-safe path segments. Shard ingress paths are assembled from these segments in two independent places — the cardinal-operator (the Ingress path it programs) and pkg/cluster (the URL used to address a shard through Traefik) — and the two MUST produce identical segments or shard requests 404. This package is the single source of that normalization so those callers can't drift apart.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCanonical ¶
IsCanonical reports whether value is already in Sanitize's normal form.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.