Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIptables
- func (fake *FakeIptables) AppendRule(arg1 string, arg2 string, arg3 ...string) error
- func (fake *FakeIptables) AppendRuleArgsForCall(i int) (string, string, []string)
- func (fake *FakeIptables) AppendRuleCallCount() int
- func (fake *FakeIptables) AppendRuleCalls(stub func(string, string, ...string) error)
- func (fake *FakeIptables) AppendRuleReturns(result1 error)
- func (fake *FakeIptables) AppendRuleReturnsOnCall(i int, result1 error)
- func (fake *FakeIptables) CreateChainOrFlushIfExists(arg1 string, arg2 string) error
- func (fake *FakeIptables) CreateChainOrFlushIfExistsArgsForCall(i int) (string, string)
- func (fake *FakeIptables) CreateChainOrFlushIfExistsCallCount() int
- func (fake *FakeIptables) CreateChainOrFlushIfExistsCalls(stub func(string, string) error)
- func (fake *FakeIptables) CreateChainOrFlushIfExistsReturns(result1 error)
- func (fake *FakeIptables) CreateChainOrFlushIfExistsReturnsOnCall(i int, result1 error)
- func (fake *FakeIptables) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIptables ¶
type FakeIptables struct { AppendRuleStub func(string, string, ...string) error CreateChainOrFlushIfExistsStub func(string, string) error // contains filtered or unexported fields }
func (*FakeIptables) AppendRule ¶
func (fake *FakeIptables) AppendRule(arg1 string, arg2 string, arg3 ...string) error
func (*FakeIptables) AppendRuleArgsForCall ¶
func (fake *FakeIptables) AppendRuleArgsForCall(i int) (string, string, []string)
func (*FakeIptables) AppendRuleCallCount ¶
func (fake *FakeIptables) AppendRuleCallCount() int
func (*FakeIptables) AppendRuleCalls ¶
func (fake *FakeIptables) AppendRuleCalls(stub func(string, string, ...string) error)
func (*FakeIptables) AppendRuleReturns ¶
func (fake *FakeIptables) AppendRuleReturns(result1 error)
func (*FakeIptables) AppendRuleReturnsOnCall ¶
func (fake *FakeIptables) AppendRuleReturnsOnCall(i int, result1 error)
func (*FakeIptables) CreateChainOrFlushIfExists ¶
func (fake *FakeIptables) CreateChainOrFlushIfExists(arg1 string, arg2 string) error
func (*FakeIptables) CreateChainOrFlushIfExistsArgsForCall ¶
func (fake *FakeIptables) CreateChainOrFlushIfExistsArgsForCall(i int) (string, string)
func (*FakeIptables) CreateChainOrFlushIfExistsCallCount ¶
func (fake *FakeIptables) CreateChainOrFlushIfExistsCallCount() int
func (*FakeIptables) CreateChainOrFlushIfExistsCalls ¶
func (fake *FakeIptables) CreateChainOrFlushIfExistsCalls(stub func(string, string) error)
func (*FakeIptables) CreateChainOrFlushIfExistsReturns ¶
func (fake *FakeIptables) CreateChainOrFlushIfExistsReturns(result1 error)
func (*FakeIptables) CreateChainOrFlushIfExistsReturnsOnCall ¶
func (fake *FakeIptables) CreateChainOrFlushIfExistsReturnsOnCall(i int, result1 error)
func (*FakeIptables) Invocations ¶
func (fake *FakeIptables) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.