Documentation ¶
Overview ¶
Package util provides various helper routines.
Index ¶
Constants ¶
View Source
const (
// EnvKubeflowNamespace is a environment variable for namespace when deployed on kubernetes
EnvKubeflowNamespace = "KUBEFLOW_NAMESPACE"
)
Variables ¶
This section is empty.
Functions ¶
func Pformat ¶
func Pformat(value interface{}) string
Pformat returns a pretty format output of any value that can be marshaled to JSON.
func RandString ¶
RandString generates a random string of the desired length.
The string is DNS-1035 label compliant; i.e. its only alphanumeric lowercase. From: https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-golang
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.