Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIPAddress ¶
GetIPAddress is a function that retrieves the internal IP address of a corev1.Node object. It iterates through the addresses in the node's status and returns the first address of type corev1.NodeInternalIP. If no address of that type is found, it returns an empty string.
Types ¶
Click to show internal directories.
Click to hide internal directories.