labels

package
Version: v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentLabel = "app.kubernetes.io/instance"

ComponentLabel is a label key used to identify the component name

View Source
const ComponentTypeLabel = "app.kubernetes.io/name"

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

View Source
const ComponentTypeVersion = "app.openshift.io/runtime-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 then use additional=false

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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