Documentation ¶
Index ¶
- func AreValidk8sAnnotationNames(names ...string) []string
- func AreValidk8sLabelNames(names ...string) []string
- func AreValidk8sNamespaceNames(names ...string) []string
- func IsValidk8sAnnotationName(name string) string
- func IsValidk8sLabelName(name string) string
- func IsValidk8sNamespaceName(name string) string
- func IsValidk8sSecretName(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreValidk8sAnnotationNames ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.