MCPcopy
hub / github.com/fluid-cloudnative/fluid / GetIpAddressesOfWorker

Method GetIpAddressesOfWorker

pkg/ctrl/worker.go:97–104  ·  view source on GitHub ↗

GetIpAddressesOfWorker gets Ipaddresses from the Worker Node

()

Source from the content-addressed store, hash-verified

95
96// GetIpAddressesOfWorker gets Ipaddresses from the Worker Node
97func (e *Helper) GetIpAddressesOfWorker() (ipAddresses []string, err error) {
98 nodes, err := e.GetWorkerNodes()
99 if err != nil {
100 return
101 }
102 ipAddresses = kubeclient.GetIpAddressesOfNodes(nodes)
103 return
104}
105
106// SetupWorkers checks the desired and current replicas of workers and makes an update
107// over the status by setting phases and conditions. The function

Callers

nothing calls this directly

Calls 2

GetWorkerNodesMethod · 0.95
GetIpAddressesOfNodesFunction · 0.92

Tested by

no test coverage detected