label

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package label contains common Kubernetes object labels. These are defined in https://github.com/giantswarm/fmt/blob/master/kubernetes/annotations_and_labels.md.

Index

Constants

View Source
const (
	// AppKubernetesName label is used to identify Kubernetes resources.
	AppKubernetesName = "app.kubernetes.io/name"

	// AppKubernetesVersion label is used to identify the version of Kubernetes
	// resources.
	AppKubernetesVersion = "app.kubernetes.io/version"

	// CatalogName label is used to identify resources belonging to a Giant Swarm
	// app catalog.
	CatalogName = "application.giantswarm.io/catalog"

	// CatalogType label is used to identify the type of Giant Swarm app catalog
	// e.g. stable or test.
	CatalogType = "application.giantswarm.io/catalog-type"

	// CatalogVisibility label is used to determine how Giant Swarm app catalogs
	// are displayed in the UX. e.g. public or internal.
	CatalogVisibility = "application.giantswarm.io/catalog-visibility"

	// Latest label is added to appcatalogentry CRs to filter for the most
	// recent release.
	Latest = "latest"

	// Watching is the label added to configmaps watched by the app value controller.
	Watching = "app-operator.giantswarm.io/watching"
)

Variables

This section is empty.

Functions

func AppVersionSelector added in v2.4.0

func AppVersionSelector(unique bool) labels.Selector

func GetProjectVersion added in v2.4.0

func GetProjectVersion(unique bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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