labels

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentLabel = "app.kubernetes.io/component-name"

ComponentLabel is a label key used to identify the component name

View Source
const ComponentTypeLabel = "app.kubernetes.io/component-type"

ComponentTypeLabel is Kubernetes label that identifies the type of a component being used

View Source
const ComponentTypeVersion = "app.kubernetes.io/component-version"

ComponentTypeVersion is a Kubernetes label that identifies the component version

Variables

This section is empty.

Functions

func GetLabels

func GetLabels(componentName string, applicationName string, additional bool) map[string]string

GetLabels return labels that should be applied to every object for given component in active application additional labels are used only for creating object if you are creating something use additional=true if you need labels to filter component that use additional=false

Types

This section is empty.

Jump to

Keyboard shortcuts

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