labels

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

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