Documentation
¶
Index ¶
- type IpTables
- func (_m *IpTables) EnsureChain(table iptables.Table, chain iptables.Chain) (bool, error)
- func (_m *IpTables) EnsureRule(position iptables.RulePosition, table iptables.Table, chain iptables.Chain, ...) (bool, error)
- func (_m *IpTables) RestoreAll(data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpTables ¶
IpTables is an autogenerated mock type for the ipTables type
func (*IpTables) EnsureChain ¶
EnsureChain provides a mock function with given fields: table, chain
func (*IpTables) EnsureRule ¶
func (_m *IpTables) EnsureRule(position iptables.RulePosition, table iptables.Table, chain iptables.Chain, args ...string) (bool, error)
EnsureRule provides a mock function with given fields: position, table, chain, args
func (*IpTables) RestoreAll ¶
func (_m *IpTables) RestoreAll(data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error
RestoreAll provides a mock function with given fields: data, flush, counters
Click to show internal directories.
Click to hide internal directories.