util

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidKubernetesLabelNameValueRegex

func IsValidKubernetesLabelNameValueRegex(input string) bool

func SanitizeLabelValues

func SanitizeLabelValues(labelValue string) string

func ValidateCustomLabelKey

func ValidateCustomLabelKey(k, v string) error

func ValidateCustomLabels

func ValidateCustomLabels(labels map[string]string) error

func ValidateEffect

func ValidateEffect(key string, effect v1.TaintEffect) error

func ValidateFullKey

func ValidateFullKey(k, v string) error

func ValidateKey

func ValidateKey(key, value string) error

func ValidatePrefix

func ValidatePrefix(prefix string) error

func ValidateTaints

func ValidateTaints(taints []*v1.Taint) error

func ValidateValue

func ValidateValue(key, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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