type FakeIPTables …
func NewFake() *FakeIPTables { … }
func NewIPv6Fake() *FakeIPTables { … }
func (f *FakeIPTables) SetHasRandomFully(can bool) *FakeIPTables { … }
func (f *FakeIPTables) EnsureChain(table iptables.Table, chain iptables.Chain) (bool, error) { … }
func (f *FakeIPTables) FlushChain(table iptables.Table, chain iptables.Chain) error { … }
func (f *FakeIPTables) DeleteChain(table iptables.Table, chain iptables.Chain) error { … }
func (f *FakeIPTables) ChainExists(table iptables.Table, chain iptables.Chain) (bool, error) { … }
func (f *FakeIPTables) EnsureRule(position iptables.RulePosition, table iptables.Table, chain iptables.Chain, args ...string) (bool, error) { … }
func (f *FakeIPTables) DeleteRule(table iptables.Table, chain iptables.Chain, args ...string) error { … }
func (f *FakeIPTables) IsIPv6() bool { … }
func (f *FakeIPTables) Protocol() iptables.Protocol { … }
func (f *FakeIPTables) saveTable(table iptables.Table, buffer *bytes.Buffer) error { … }
func (f *FakeIPTables) SaveInto(table iptables.Table, buffer *bytes.Buffer) error { … }
var builtinTargets …
func (f *FakeIPTables) restoreTable(newDump *IPTablesDump, newTable *Table, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error { … }
func (f *FakeIPTables) Restore(table iptables.Table, data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error { … }
func (f *FakeIPTables) RestoreAll(data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error { … }
func (f *FakeIPTables) Monitor(canary iptables.Chain, tables []iptables.Table, reloadFunc func(), interval time.Duration, stopCh <-chan struct{ … }
func (f *FakeIPTables) HasRandomFully() bool { … }
func (f *FakeIPTables) Present() bool { … }
var _ …