label

package
v5.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 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 added in v5.5.0

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