labelutils

package
v0.10.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterLabelKey = fmt.Sprintf("cluster.%s", v1alpha2.SchemeGroupVersion.Group)

the key used to differentiate discovery resources by the cluster in which they were discovered

Functions

func ClusterLabel

func ClusterLabel(cluster string) (string, string)

func ClusterLabels

func ClusterLabels(cluster string) map[string]string

Create a label that identifies the cluster used to discover a resource.

func OwnershipLabels

func OwnershipLabels() map[string]string

identifies the instance of gloo-mesh discovery that produced the resource. uses pod namespace to identify the instance

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL