str

package
v0.20.7 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceSpecialCharForAppName

func ReplaceSpecialCharForAppName(str string) string

ReplaceSpecialCharForAppName replace _ to - for app name

func ReplaceSpecialCharForLabel

func ReplaceSpecialCharForLabel(ss map[string]string) map[string]string

ReplaceSpecialCharForLabel replace special character for labels

func ReplaceSpecialCharForLabelKey

func ReplaceSpecialCharForLabelKey(str string) string

ReplaceSpecialCharForLabelKey replace special char to "-" for label key

func ReplaceSpecialCharForLabelValue

func ReplaceSpecialCharForLabelValue(str string) string

ReplaceSpecialCharForLabelValue replace special char to "-" for label value

func ReplaceSpecialCharForSvcName

func ReplaceSpecialCharForSvcName(str string) string

ReplaceSpecialCharForSvcName replace _ to - for svc name

Types

This section is empty.

Jump to

Keyboard shortcuts

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