Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnv ¶
GetEnv takes in the environmental variable key and a fallback if the env var is absent then the fallback is returned or else the variable will be returned
func SetupLogger ¶
func SetupLogger()
SetupLogger reads environmental variable and sets up logrus logger log level
func TrimPodTemplateHash ¶
TrimPodTemplateHash takes in a pod and tries to remove the pod template hash from the pod name. If no pod template hash is found then pod name is returned without any trimming
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.