Documentation ¶
Overview ¶
Package labels provides utility methods for retrieving Istio-specific labels from Kubernetes resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalService ¶
CanonicalService returns the values of the following labels from the supplied map: - service.istio.io/canonical-name - service.istio.io/canonical-revision
If the labels are not in the map, a set of fallbacks are checked. For canonical name, `app.kubernetes.io/name` is checked, then `app`, evenutually falling back to the supplied `workloadName`. For canonical revision, `app.kubernetes.io/version` is checked, followed by `version` and finally defaulting to the literal value of `"latest"`.
func HasCanonicalServiceName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.