labels

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const App = "app"

App is the default name used when labeling

View Source
const ApplicationLabel = "app.kubernetes.io/part-of"

ApplicationLabel is label key that is used to group all object that belong to one application It should be save to use just this label to filter application

View Source
const OdoManagedBy = "app.kubernetes.io/managed-by"

OdoManagedBy notes that this is managed by odo

View Source
const OdoVersion = "app.kubernetes.io/managed-by-version"

OdoVersion is a Kubernetes label that adds what version of odo is being ran.

Variables

This section is empty.

Functions

func GetLabels

func GetLabels(application string, additional bool) map[string]string

GetLabels return labels that identifies given application additional labels are used only when creating object if you are creating something use additional=true if you need labels to filter component than 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