GetIpAddressesOfWorker gets Ipaddresses from the Worker Node
()
| 95 | |
| 96 | // GetIpAddressesOfWorker gets Ipaddresses from the Worker Node |
| 97 | func (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 |
nothing calls this directly
no test coverage detected