const port … func main() { … } func probe(ip string) { … } // getIPs gets the IPs from the downward API // we don't have to validate the IPs because // they are validated previously by kubernetes/CNI func getIPs() []net.IP { … }
const port … func main() { … } func probe(ip string) { … } // getIPs gets the IPs from the downward API // we don't have to validate the IPs because // they are validated previously by kubernetes/CNI func getIPs() []net.IP { … }