labels

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 0 Imported by: 76

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