labels

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 1 Imported by: 95

Documentation

Index

Constants

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

ComponentLabel is a label key used to identify component

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

ComponentTypeLabel is kubernetes that identifies type of a component

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