Documentation ¶
Index ¶
Constants ¶
View Source
const (
// GimbalLabelBackend is the key of the label that contains the cluster name
GimbalLabelBackend = "gimbal.heptio.com/backend"
)
Variables ¶
This section is empty.
Functions ¶
func AddGimbalLabels ¶
AddGimbalLabels returns a new set of labels that includes the incoming set of labels, plus gimbal-specific ones.
func BuildDiscoveredName ¶ added in v0.2.0
BuildDiscoveredName returns the discovered name of the service in a given cluster. If the name is longer than the Kubernetes DNS_LABEL maximum character limit, the name is shortened.
func ShortenKubernetesLabelValue ¶ added in v0.2.0
ShortenKubernetesLabelValue ensures that the given string's length does not exceed the character limit imposed by Kubernetes. If it does, the label is shortened.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.