label

package
v6.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 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 (
	// Latest label is added to appcatalogentry CRs to filter for the most
	// recent release.
	Latest = "latest"
)

Variables

This section is empty.

Functions

func AppVersionSelector

func AppVersionSelector(unique bool) labels.Selector

func ClusterSelector

func ClusterSelector(clusterID string) labels.Selector

ClusterSelector selects all apps with the specified cluster ID. Unless they use the special version `0.0.0` and are processed by the management cluster instance of app-operator.

func GetProjectVersion

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