- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DeleteChain (0.23 sec)
-
pkg/util/iptables/monitor_test.go
} if err := waitForReloads(&reloads, 0); err != nil { t.Errorf("got unexpected reloads: %v", err) } // If we delete all of the chains, it should reload ipt.DeleteChain(TableMangle, canary) ipt.DeleteChain(TableFilter, canary) ipt.DeleteChain(TableNAT, canary) if err := waitForReloads(&reloads, 1); err != nil { t.Errorf("got unexpected number of reloads after flush: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 08 15:21:59 UTC 2023 - 9.3K bytes - Viewed (0) -
pkg/util/iptables/testing/fake.go
func (f *FakeIPTables) FlushChain(table iptables.Table, chain iptables.Chain) error { if c, _ := f.Dump.GetChain(table, chain); c != nil { c.Rules = nil } return nil } // DeleteChain is part of iptables.Interface func (f *FakeIPTables) DeleteChain(table iptables.Table, chain iptables.Chain) error { t, err := f.Dump.GetTable(table) if err != nil { return err } for i := range t.Chains { if t.Chains[i].Name == chain {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 8.5K bytes - Viewed (0)