labels

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeviceNameLabel     = "devicename"
	DoesNotExistLabel   = "doesnotexist"
	WorkloadLabelPrefix = "workload/"
	SelectorLabelPrefix = "selector/"
)

Variables

This section is empty.

Functions

func CreateSelectorLabel

func CreateSelectorLabel(label string) string

func GetPodmanLabels added in v0.1.0

func GetPodmanLabels(workloadLabels map[string]string) map[string]string

GetPodmanLabels filter all the labels of the EdgeWorkload CR starting with prefix "podman/"

func IsSelectorLabel

func IsSelectorLabel(label string) bool

func IsWorkloadLabel

func IsWorkloadLabel(label string) bool

func WorkloadLabel

func WorkloadLabel(workloadName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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