kubernetes/pkg/util/iptables
Dan Winship f8bfcfc885 Drop utiliptables.NewDualStack()
The semantics (sometimes it returns an error that is really just a
warning) are too confusing, and it turns out that we really only need
it in one place (platformCheckSupported()); after that we've already
figured out what IP families are supported, so we could just use
utiliptables.NewBestEffort() instead, knowing we want exactly what it
returns.

So we can just expand the semantics of the old NewDualStack() inline
in the one place we care, without hiding any of it behind a
too-complicated return value.
2025-09-17 20:14:28 -04:00
..
testing Merge pull request #124318 from liangyuanpeng/drop-ptr-wrappers-pkg-util 2025-07-04 15:25:24 -07:00
doc.go remove import doc comments 2024-12-02 16:59:34 +01:00
iptables.go Drop utiliptables.NewDualStack() 2025-09-17 20:14:28 -04:00
iptables_linux.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
iptables_test.go Drop utiliptables.NewDualStack() 2025-09-17 20:14:28 -04:00
monitor_test.go proxy: remove iptables wait interval flag 2025-05-30 16:13:06 +08:00
OWNERS Make pkg/util/iptables and pkg/util/ipvs owned by sig-network 2023-03-18 11:29:36 -04:00
save_restore.go Properly build-tag the Linux kube-proxy backend code 2023-12-18 20:20:51 -05:00
save_restore_test.go Properly build-tag the Linux kube-proxy backend code 2023-12-18 20:20:51 -05:00