Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGatewayIP ¶
GetGatewayIP is used to get the IP that needs to be used to direct the traffic from the director nodes to the gateway node. IP that will be picked will be based on the CNI used and if it direct routing or overlay. In case of ovarlays IP from the pod CIDR that is associated with the gateway node will be used
func GetNodeIP ¶
GetNodeIP returns the most valid external facing IP address for a node. Order of preference: 1. NodeInternalIP 2. NodeExternalIP (Only set on cloud providers usually)
func GetNodeIPByNodeName ¶
GetNodeIPByNodeName returns the most valid external facing IP address for a node given its name.
func GetNodeObject ¶
GetNodeObject returns the node API object for the node
Types ¶
This section is empty.