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: 2 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 then use additional=false

func GetSelector added in v1.2.4

func GetSelector(application string) string

GetSelector are supposed to be used for selection of any resource part of an application

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