kube

package
v0.12.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreValidk8sAnnotationNames

func AreValidk8sAnnotationNames(names ...string) []string

AreValidk8sAnnotationNames validates the given names against the kubernetes format for annotations and returns a slice of validation failure messages if any issues are found. Otherwise an empty slice is returned.

func AreValidk8sLabelNames

func AreValidk8sLabelNames(names ...string) []string

AreValidk8sLabelNames validates the given names against the kubernetes format for labels and returns a slice of validation failure messages if any issues are found. Otherwise an empty slice is returned.

func AreValidk8sNamespaceNames

func AreValidk8sNamespaceNames(names ...string) []string

AreValidk8sNamespaceNames validates the given names against the kubernetes format for namespaces and returns a slice of validation failure messages if any issues are found. Otherwise an empty slice is returned.

func IsValidk8sAnnotationName

func IsValidk8sAnnotationName(name string) string

IsValidk8sAnnotationName validates the given name against the kubernetes format for annotation names and returns a validation failure message if an issue is found. Otherwise an empty string is returned.

func IsValidk8sLabelName

func IsValidk8sLabelName(name string) string

IsValidk8sLabelName validates the given name against the kubernetes format for label names and returns a validation failure message if an issue is found. Otherwise an empty string is returned.

func IsValidk8sNamespaceName

func IsValidk8sNamespaceName(name string) string

IsValidk8sNamespaceName validates the given name against the kubernetes format for namespace names and returns a validation failure message if an issue is found. Otherwise an empty string is returned.

func IsValidk8sSecretName

func IsValidk8sSecretName(name string) string

IsValidk8sSecretName validates the given name against the kubernetes format for secret names and returns a validation failure message if an issue is found. Otherwise an empty string is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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