translator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GimbalLabelCluster is the key of the label that contains the cluster name
	GimbalLabelCluster = "gimbal.heptio.com/cluster"
)

Variables

This section is empty.

Functions

func AddGimbalLabels

func AddGimbalLabels(clustername, namespace, name string, existingLabels map[string]string) map[string]string

AddGimbalLabels returns a new set of labels that includes the incoming set of labels, plus gimbal-specific ones.

func GetFormattedName

func GetFormattedName(name, cluster string) string

GetFormattedName take the names of a service and formats to truncate if needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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