Documentation ¶
Index ¶
- func FilterAnnotations(annotations map[string]string, fn func(k, v string) bool) map[string]string
- func GetAnnotations(_ string, annotations ...map[string]string) map[string]string
- func GetLabels(name, service string, version *version.Version, labels map[string]string) map[string]string
- func GetVersionStringLabels(name, service string, version string, labels map[string]string) map[string]string
- func LabelsSelector(clusterName, serviceName string) map[string]string
- func Merge(maps ...map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterAnnotations ¶ added in v0.8.0
FilterAnnotations filters the provided annotations using fn(k,v). Maps elements are kept if fn returns true.
func GetAnnotations ¶
GetAnnotations returns service annotations.
func GetLabels ¶
func GetLabels(name, service string, version *version.Version, labels map[string]string) map[string]string
GetLabels returns a Labels for a temporal service.
func GetVersionStringLabels ¶ added in v0.8.0
func GetVersionStringLabels(name, service string, version string, labels map[string]string) map[string]string
GetLabels returns a Labels for a temporal service using string Version.
func LabelsSelector ¶
LabelsSelector returns service's default labels.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.