labels

package
v2.50.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidLabelKey

func IsInvalidLabelKey(err error) bool

func IsInvalidLabelSpec

func IsInvalidLabelSpec(err error) bool

func IsInvalidLabelValue

func IsInvalidLabelValue(err error) bool

func Parse

func Parse(rawLabels []string) (map[string]string, error)

Logic partially lifted from https://github.com/kubernetes/kubectl/blob/445ad13/pkg/cmd/label/label.go#L400-L425 Licensed under Apache-2.0

Types

This section is empty.

Jump to

Keyboard shortcuts

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