Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeName ¶
GetNodeName returns the node's name used in Kubernetes, based on the priority: - environment variable NODE_NAME, which should be set by Downward API - OS's hostname
func GetPodName ¶
GetPodName returns name of the Pod where the code executes.
func GetPodNamespace ¶
GetPodNamespace returns Namespace of the Pod where the code executes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.