normalize

package
v5.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsDNSLabelName

func AsDNSLabelName(v string) string

AsDNSLabelName normalizes input string to be valid DNS label name so that it can be used as Kubernetes object identifier such as namespace name.

NOTE: This function returns an empty string if input string consists of only

non-allowed characters.

https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names

Types

This section is empty.

Jump to

Keyboard shortcuts

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