Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetNodeName = func() (string, error) { nodeName := os.Getenv("CURRENT_NODE_NAME") if nodeName != "" { return nodeName, nil } return os.Hostname() }
GetNodeName returns the current node name.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.