Documentation
¶
Index ¶
- func ConfigMap(base, hash string) string
- func Container() string
- func DNSName(name string) string
- func InitCointainer(base string) string
- func Key(namespace, name, format, key string) string
- func Truncate(format string, max int, values ...interface{}) string
- func Volume(format string, args ...any) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DNSName ¶
DNSName returns a dns-safe string for the given name. Any char that is not [a-z0-9] is replaced by "-" or "a". Replacement character "a" is used only at the beginning or at the end of the name. The function does not change length of the string. source: https://github.com/jaegertracing/jaeger-operator/blob/91e3b69ee5c8761bbda9d3cf431400a73fc1112a/pkg/util/dns_name.go#L15
func InitCointainer ¶ added in v0.3.0
func Truncate ¶
Truncate will shorten the length of the instance name so that it contains at most max chars when combined with the fixed part. If the fixed part is already bigger than the max, this function is noop. source: https://github.com/jaegertracing/jaeger-operator/blob/91e3b69ee5c8761bbda9d3cf431400a73fc1112a/pkg/util/truncate.go#L17
Types ¶
This section is empty.