Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeIPTables
- func (fake *FakeIPTables) BulkPrependRules(arg1 string, arg2 []iptables.Rule) error
- func (fake *FakeIPTables) BulkPrependRulesArgsForCall(i int) (string, []iptables.Rule)
- func (fake *FakeIPTables) BulkPrependRulesCallCount() int
- func (fake *FakeIPTables) BulkPrependRulesCalls(stub func(string, []iptables.Rule) error)
- func (fake *FakeIPTables) BulkPrependRulesReturns(result1 error)
- func (fake *FakeIPTables) BulkPrependRulesReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) CreateChain(arg1 string, arg2 string) error
- func (fake *FakeIPTables) CreateChainArgsForCall(i int) (string, string)
- func (fake *FakeIPTables) CreateChainCallCount() int
- func (fake *FakeIPTables) CreateChainCalls(stub func(string, string) error)
- func (fake *FakeIPTables) CreateChainReturns(result1 error)
- func (fake *FakeIPTables) CreateChainReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) DeleteChain(arg1 string, arg2 string) error
- func (fake *FakeIPTables) DeleteChainArgsForCall(i int) (string, string)
- func (fake *FakeIPTables) DeleteChainCallCount() int
- func (fake *FakeIPTables) DeleteChainCalls(stub func(string, string) error)
- func (fake *FakeIPTables) DeleteChainReferences(arg1 string, arg2 string, arg3 string) error
- func (fake *FakeIPTables) DeleteChainReferencesArgsForCall(i int) (string, string, string)
- func (fake *FakeIPTables) DeleteChainReferencesCallCount() int
- func (fake *FakeIPTables) DeleteChainReferencesCalls(stub func(string, string, string) error)
- func (fake *FakeIPTables) DeleteChainReferencesReturns(result1 error)
- func (fake *FakeIPTables) DeleteChainReferencesReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) DeleteChainReturns(result1 error)
- func (fake *FakeIPTables) DeleteChainReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) FlushChain(arg1 string, arg2 string) error
- func (fake *FakeIPTables) FlushChainArgsForCall(i int) (string, string)
- func (fake *FakeIPTables) FlushChainCallCount() int
- func (fake *FakeIPTables) FlushChainCalls(stub func(string, string) error)
- func (fake *FakeIPTables) FlushChainReturns(result1 error)
- func (fake *FakeIPTables) FlushChainReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) InstanceChain(arg1 string) string
- func (fake *FakeIPTables) InstanceChainArgsForCall(i int) string
- func (fake *FakeIPTables) InstanceChainCallCount() int
- func (fake *FakeIPTables) InstanceChainCalls(stub func(string) string)
- func (fake *FakeIPTables) InstanceChainReturns(result1 string)
- func (fake *FakeIPTables) InstanceChainReturnsOnCall(i int, result1 string)
- func (fake *FakeIPTables) Invocations() map[string][][]interface{}
- func (fake *FakeIPTables) PrependRule(arg1 string, arg2 iptables.Rule) error
- func (fake *FakeIPTables) PrependRuleArgsForCall(i int) (string, iptables.Rule)
- func (fake *FakeIPTables) PrependRuleCallCount() int
- func (fake *FakeIPTables) PrependRuleCalls(stub func(string, iptables.Rule) error)
- func (fake *FakeIPTables) PrependRuleReturns(result1 error)
- func (fake *FakeIPTables) PrependRuleReturnsOnCall(i int, result1 error)
- type FakeRule
- func (fake *FakeRule) Flags(arg1 string) []string
- func (fake *FakeRule) FlagsArgsForCall(i int) string
- func (fake *FakeRule) FlagsCallCount() int
- func (fake *FakeRule) FlagsCalls(stub func(string) []string)
- func (fake *FakeRule) FlagsReturns(result1 []string)
- func (fake *FakeRule) FlagsReturnsOnCall(i int, result1 []string)
- func (fake *FakeRule) Invocations() map[string][][]interface{}
- type FakeRuleTranslator
- func (fake *FakeRuleTranslator) Invocations() map[string][][]interface{}
- func (fake *FakeRuleTranslator) TranslateRule(arg1 string, arg2 garden.NetOutRule) ([]iptables.Rule, error)
- func (fake *FakeRuleTranslator) TranslateRuleArgsForCall(i int) (string, garden.NetOutRule)
- func (fake *FakeRuleTranslator) TranslateRuleCallCount() int
- func (fake *FakeRuleTranslator) TranslateRuleCalls(stub func(string, garden.NetOutRule) ([]iptables.Rule, error))
- func (fake *FakeRuleTranslator) TranslateRuleReturns(result1 []iptables.Rule, result2 error)
- func (fake *FakeRuleTranslator) TranslateRuleReturnsOnCall(i int, result1 []iptables.Rule, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIPTables ¶
type FakeIPTables struct { BulkPrependRulesStub func(string, []iptables.Rule) error CreateChainStub func(string, string) error DeleteChainStub func(string, string) error DeleteChainReferencesStub func(string, string, string) error FlushChainStub func(string, string) error InstanceChainStub func(string) string PrependRuleStub func(string, iptables.Rule) error // contains filtered or unexported fields }
func (*FakeIPTables) BulkPrependRules ¶
func (fake *FakeIPTables) BulkPrependRules(arg1 string, arg2 []iptables.Rule) error
func (*FakeIPTables) BulkPrependRulesArgsForCall ¶
func (fake *FakeIPTables) BulkPrependRulesArgsForCall(i int) (string, []iptables.Rule)
func (*FakeIPTables) BulkPrependRulesCallCount ¶
func (fake *FakeIPTables) BulkPrependRulesCallCount() int
func (*FakeIPTables) BulkPrependRulesCalls ¶
func (fake *FakeIPTables) BulkPrependRulesCalls(stub func(string, []iptables.Rule) error)
func (*FakeIPTables) BulkPrependRulesReturns ¶
func (fake *FakeIPTables) BulkPrependRulesReturns(result1 error)
func (*FakeIPTables) BulkPrependRulesReturnsOnCall ¶
func (fake *FakeIPTables) BulkPrependRulesReturnsOnCall(i int, result1 error)
func (*FakeIPTables) CreateChain ¶
func (fake *FakeIPTables) CreateChain(arg1 string, arg2 string) error
func (*FakeIPTables) CreateChainArgsForCall ¶
func (fake *FakeIPTables) CreateChainArgsForCall(i int) (string, string)
func (*FakeIPTables) CreateChainCallCount ¶
func (fake *FakeIPTables) CreateChainCallCount() int
func (*FakeIPTables) CreateChainCalls ¶
func (fake *FakeIPTables) CreateChainCalls(stub func(string, string) error)
func (*FakeIPTables) CreateChainReturns ¶
func (fake *FakeIPTables) CreateChainReturns(result1 error)
func (*FakeIPTables) CreateChainReturnsOnCall ¶
func (fake *FakeIPTables) CreateChainReturnsOnCall(i int, result1 error)
func (*FakeIPTables) DeleteChain ¶
func (fake *FakeIPTables) DeleteChain(arg1 string, arg2 string) error
func (*FakeIPTables) DeleteChainArgsForCall ¶
func (fake *FakeIPTables) DeleteChainArgsForCall(i int) (string, string)
func (*FakeIPTables) DeleteChainCallCount ¶
func (fake *FakeIPTables) DeleteChainCallCount() int
func (*FakeIPTables) DeleteChainCalls ¶
func (fake *FakeIPTables) DeleteChainCalls(stub func(string, string) error)
func (*FakeIPTables) DeleteChainReferences ¶
func (fake *FakeIPTables) DeleteChainReferences(arg1 string, arg2 string, arg3 string) error
func (*FakeIPTables) DeleteChainReferencesArgsForCall ¶
func (fake *FakeIPTables) DeleteChainReferencesArgsForCall(i int) (string, string, string)
func (*FakeIPTables) DeleteChainReferencesCallCount ¶
func (fake *FakeIPTables) DeleteChainReferencesCallCount() int
func (*FakeIPTables) DeleteChainReferencesCalls ¶
func (fake *FakeIPTables) DeleteChainReferencesCalls(stub func(string, string, string) error)
func (*FakeIPTables) DeleteChainReferencesReturns ¶
func (fake *FakeIPTables) DeleteChainReferencesReturns(result1 error)
func (*FakeIPTables) DeleteChainReferencesReturnsOnCall ¶
func (fake *FakeIPTables) DeleteChainReferencesReturnsOnCall(i int, result1 error)
func (*FakeIPTables) DeleteChainReturns ¶
func (fake *FakeIPTables) DeleteChainReturns(result1 error)
func (*FakeIPTables) DeleteChainReturnsOnCall ¶
func (fake *FakeIPTables) DeleteChainReturnsOnCall(i int, result1 error)
func (*FakeIPTables) FlushChain ¶
func (fake *FakeIPTables) FlushChain(arg1 string, arg2 string) error
func (*FakeIPTables) FlushChainArgsForCall ¶
func (fake *FakeIPTables) FlushChainArgsForCall(i int) (string, string)
func (*FakeIPTables) FlushChainCallCount ¶
func (fake *FakeIPTables) FlushChainCallCount() int
func (*FakeIPTables) FlushChainCalls ¶
func (fake *FakeIPTables) FlushChainCalls(stub func(string, string) error)
func (*FakeIPTables) FlushChainReturns ¶
func (fake *FakeIPTables) FlushChainReturns(result1 error)
func (*FakeIPTables) FlushChainReturnsOnCall ¶
func (fake *FakeIPTables) FlushChainReturnsOnCall(i int, result1 error)
func (*FakeIPTables) InstanceChain ¶
func (fake *FakeIPTables) InstanceChain(arg1 string) string
func (*FakeIPTables) InstanceChainArgsForCall ¶
func (fake *FakeIPTables) InstanceChainArgsForCall(i int) string
func (*FakeIPTables) InstanceChainCallCount ¶
func (fake *FakeIPTables) InstanceChainCallCount() int
func (*FakeIPTables) InstanceChainCalls ¶
func (fake *FakeIPTables) InstanceChainCalls(stub func(string) string)
func (*FakeIPTables) InstanceChainReturns ¶
func (fake *FakeIPTables) InstanceChainReturns(result1 string)
func (*FakeIPTables) InstanceChainReturnsOnCall ¶
func (fake *FakeIPTables) InstanceChainReturnsOnCall(i int, result1 string)
func (*FakeIPTables) Invocations ¶
func (fake *FakeIPTables) Invocations() map[string][][]interface{}
func (*FakeIPTables) PrependRule ¶
func (fake *FakeIPTables) PrependRule(arg1 string, arg2 iptables.Rule) error
func (*FakeIPTables) PrependRuleArgsForCall ¶
func (fake *FakeIPTables) PrependRuleArgsForCall(i int) (string, iptables.Rule)
func (*FakeIPTables) PrependRuleCallCount ¶
func (fake *FakeIPTables) PrependRuleCallCount() int
func (*FakeIPTables) PrependRuleCalls ¶
func (fake *FakeIPTables) PrependRuleCalls(stub func(string, iptables.Rule) error)
func (*FakeIPTables) PrependRuleReturns ¶
func (fake *FakeIPTables) PrependRuleReturns(result1 error)
func (*FakeIPTables) PrependRuleReturnsOnCall ¶
func (fake *FakeIPTables) PrependRuleReturnsOnCall(i int, result1 error)
type FakeRule ¶
func (*FakeRule) FlagsArgsForCall ¶
func (*FakeRule) FlagsCallCount ¶
func (*FakeRule) FlagsCalls ¶
func (*FakeRule) FlagsReturns ¶
func (*FakeRule) FlagsReturnsOnCall ¶
func (*FakeRule) Invocations ¶
type FakeRuleTranslator ¶
type FakeRuleTranslator struct { TranslateRuleStub func(string, garden.NetOutRule) ([]iptables.Rule, error) // contains filtered or unexported fields }
func (*FakeRuleTranslator) Invocations ¶
func (fake *FakeRuleTranslator) Invocations() map[string][][]interface{}
func (*FakeRuleTranslator) TranslateRule ¶
func (fake *FakeRuleTranslator) TranslateRule(arg1 string, arg2 garden.NetOutRule) ([]iptables.Rule, error)
func (*FakeRuleTranslator) TranslateRuleArgsForCall ¶
func (fake *FakeRuleTranslator) TranslateRuleArgsForCall(i int) (string, garden.NetOutRule)
func (*FakeRuleTranslator) TranslateRuleCallCount ¶
func (fake *FakeRuleTranslator) TranslateRuleCallCount() int
func (*FakeRuleTranslator) TranslateRuleCalls ¶
func (fake *FakeRuleTranslator) TranslateRuleCalls(stub func(string, garden.NetOutRule) ([]iptables.Rule, error))
func (*FakeRuleTranslator) TranslateRuleReturns ¶
func (fake *FakeRuleTranslator) TranslateRuleReturns(result1 []iptables.Rule, result2 error)
func (*FakeRuleTranslator) TranslateRuleReturnsOnCall ¶
func (fake *FakeRuleTranslator) TranslateRuleReturnsOnCall(i int, result1 []iptables.Rule, result2 error)
Click to show internal directories.
Click to hide internal directories.