labels

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

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

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

Variables

View Source
var AdditionalApplicationLabels = []string{

	"app",
}

AdditionalApplicationLabels additional labels that are applied to all objects belonging to one application Those labels are not used for filtering or grouping, they are used just when creating and they are mend to be used by other tools

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