lang

package
v0.0.0-...-37f45be Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIpCidr

func CheckIpCidr(name string, val string) error

func CheckName

func CheckName(name string) error

func GetIdxToInt

func GetIdxToInt(idx string) int

func GetMaxNumber

func GetMaxNumber(arr []int) int

func GetNodeName

func GetNodeName(clusterName string, role string, idx int) string

get node name

func GetRandomString

func GetRandomString(n int) string

Random string generation

func GetStoreClusterKey

func GetStoreClusterKey(namespace string, clusterName string) string

get store cluster key

func GetStoreNodeKey

func GetStoreNodeKey(namespace string, clusterName string, nodeName string) string

get store node key

func GetUid

func GetUid() string

get uuid

func NVL

func NVL(str string, def string) string

NVL is null value logic

Types

This section is empty.

Jump to

Keyboard shortcuts

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