kubernetes/cmd/kube-proxy/app
Dan Winship f1f390f13b
clean up LocalTrafficDetector construction / tests (#124582)
* LocalTrafficDetector construction and test improvements

* Reorder getLocalDetector unit test fields so "input" args come before "output" args

* Don't pass DetectLocalMode as a separate arg to getLocalDetector

It's already part of `config`

* Clarify test names in preparation for merging

* Merge single-stack/dual-stack LocalTrafficDetector construction

Also, only warn if the *primary* IP family is not correctly configured
(since we don't actually know if the cluster is really dual-stack or
not), and pass the pair of detectors to the proxiers as a map rather
than an array.

* Remove the rest of Test_getDualStackLocalDetectorTuple
2024-04-28 08:51:23 -07:00
..
conntrack.go convert k8s.io/kubernetes/pkg/proxy to contextual logging, part 1 2024-04-22 13:08:41 +08:00
init_linux.go Properly build-tag the Linux kube-proxy backend code 2023-12-18 20:20:51 -05:00
init_other.go Add stub methods for kube-proxy on non-linux/windows 2024-01-22 20:45:26 -08:00
init_windows.go Sort messy kube-proxy imports 2024-01-25 18:41:55 -05:00
server_linux_test.go clean up LocalTrafficDetector construction / tests (#124582) 2024-04-28 08:51:23 -07:00
server_linux.go clean up LocalTrafficDetector construction / tests (#124582) 2024-04-28 08:51:23 -07:00
server_other.go convert k8s.io/kubernetes/pkg/proxy to contextual logging, part 1 2024-04-22 13:08:41 +08:00
server_test.go convert k8s.io/kubernetes/pkg/proxy to contextual logging, part 1 2024-04-22 13:08:41 +08:00
server_windows.go Merge linux and windows kube-proxy metric registration together 2024-04-26 09:27:41 -04:00
server.go Merge linux and windows kube-proxy metric registration together 2024-04-26 09:27:41 -04:00