kubernetes/pkg/util/iptables
Dan Winship 7c27cf0b9b Simplify iptables-save parsing
We don't need to parse out the counter values from the iptables-save
output (since they are always 0 for the chains we care about). Just
parse the chain names themselves.

Also, all of the callers of GetChainLines() pass it input that
contains only a single table, so just assume that, rather than
carefully parsing only a single table's worth of the input.
2022-06-28 08:39:32 -04:00
..
testing pkg/util/iptables/testing: Fix FakeIPTables 2022-05-09 11:29:08 -04:00
doc.go
iptables_linux.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
iptables_test.go kube-proxy should log the payload when iptables-restore fails 2021-12-23 09:50:56 +08:00
iptables_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
iptables.go kube-proxy should log the payload when iptables-restore fails 2021-12-23 09:50:56 +08:00
monitor_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
save_restore_test.go Simplify iptables-save parsing 2022-06-28 08:39:32 -04:00
save_restore.go Simplify iptables-save parsing 2022-06-28 08:39:32 -04:00