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(chain string, rules []iptables.Rule) error
- func (fake *FakeIPTables) BulkPrependRulesArgsForCall(i int) (string, []iptables.Rule)
- func (fake *FakeIPTables) BulkPrependRulesCallCount() int
- func (fake *FakeIPTables) BulkPrependRulesReturns(result1 error)
- func (fake *FakeIPTables) BulkPrependRulesReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) CreateChain(table string, chain string) error
- func (fake *FakeIPTables) CreateChainArgsForCall(i int) (string, string)
- func (fake *FakeIPTables) CreateChainCallCount() int
- func (fake *FakeIPTables) CreateChainReturns(result1 error)
- func (fake *FakeIPTables) CreateChainReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) DeleteChain(table string, chain string) error
- func (fake *FakeIPTables) DeleteChainArgsForCall(i int) (string, string)
- func (fake *FakeIPTables) DeleteChainCallCount() int
- func (fake *FakeIPTables) DeleteChainReferences(table string, targetChain string, referencedChain string) error
- func (fake *FakeIPTables) DeleteChainReferencesArgsForCall(i int) (string, string, string)
- func (fake *FakeIPTables) DeleteChainReferencesCallCount() int
- 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(table string, chain string) error
- func (fake *FakeIPTables) FlushChainArgsForCall(i int) (string, string)
- func (fake *FakeIPTables) FlushChainCallCount() int
- func (fake *FakeIPTables) FlushChainReturns(result1 error)
- func (fake *FakeIPTables) FlushChainReturnsOnCall(i int, result1 error)
- func (fake *FakeIPTables) InstanceChain(instanceId string) string
- func (fake *FakeIPTables) InstanceChainArgsForCall(i int) string
- func (fake *FakeIPTables) InstanceChainCallCount() int
- 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(chain string, rule iptables.Rule) error
- func (fake *FakeIPTables) PrependRuleArgsForCall(i int) (string, iptables.Rule)
- func (fake *FakeIPTables) PrependRuleCallCount() int
- func (fake *FakeIPTables) PrependRuleReturns(result1 error)
- func (fake *FakeIPTables) PrependRuleReturnsOnCall(i int, result1 error)
- type FakeRule
- func (fake *FakeRule) Flags(chain string) []string
- func (fake *FakeRule) FlagsArgsForCall(i int) string
- func (fake *FakeRule) FlagsCallCount() int
- 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(handle string, gardenRule garden.NetOutRule) ([]iptables.Rule, error)
- func (fake *FakeRuleTranslator) TranslateRuleArgsForCall(i int) (string, garden.NetOutRule)
- func (fake *FakeRuleTranslator) TranslateRuleCallCount() int
- 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 { CreateChainStub func(table, chain string) error DeleteChainStub func(table, chain string) error FlushChainStub func(table, chain string) error DeleteChainReferencesStub func(table, targetChain, referencedChain string) error PrependRuleStub func(chain string, rule iptables.Rule) error BulkPrependRulesStub func(chain string, rules []iptables.Rule) error InstanceChainStub func(instanceId string) string // contains filtered or unexported fields }
func (*FakeIPTables) BulkPrependRules ¶
func (fake *FakeIPTables) BulkPrependRules(chain string, rules []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) 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(table string, chain string) error
func (*FakeIPTables) CreateChainArgsForCall ¶
func (fake *FakeIPTables) CreateChainArgsForCall(i int) (string, string)
func (*FakeIPTables) CreateChainCallCount ¶
func (fake *FakeIPTables) CreateChainCallCount() int
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(table string, chain string) error
func (*FakeIPTables) DeleteChainArgsForCall ¶
func (fake *FakeIPTables) DeleteChainArgsForCall(i int) (string, string)
func (*FakeIPTables) DeleteChainCallCount ¶
func (fake *FakeIPTables) DeleteChainCallCount() int
func (*FakeIPTables) DeleteChainReferences ¶
func (fake *FakeIPTables) DeleteChainReferences(table string, targetChain string, referencedChain string) error
func (*FakeIPTables) DeleteChainReferencesArgsForCall ¶
func (fake *FakeIPTables) DeleteChainReferencesArgsForCall(i int) (string, string, string)
func (*FakeIPTables) DeleteChainReferencesCallCount ¶
func (fake *FakeIPTables) DeleteChainReferencesCallCount() int
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(table string, chain string) error
func (*FakeIPTables) FlushChainArgsForCall ¶
func (fake *FakeIPTables) FlushChainArgsForCall(i int) (string, string)
func (*FakeIPTables) FlushChainCallCount ¶
func (fake *FakeIPTables) FlushChainCallCount() int
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(instanceId string) string
func (*FakeIPTables) InstanceChainArgsForCall ¶
func (fake *FakeIPTables) InstanceChainArgsForCall(i int) string
func (*FakeIPTables) InstanceChainCallCount ¶
func (fake *FakeIPTables) InstanceChainCallCount() int
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(chain string, rule 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) PrependRuleReturns ¶
func (fake *FakeIPTables) PrependRuleReturns(result1 error)
func (*FakeIPTables) PrependRuleReturnsOnCall ¶
func (fake *FakeIPTables) PrependRuleReturnsOnCall(i int, result1 error)
type FakeRule ¶
type FakeRule struct { FlagsStub func(chain string) []string // contains filtered or unexported fields }
func (*FakeRule) FlagsArgsForCall ¶
func (*FakeRule) FlagsCallCount ¶
func (*FakeRule) FlagsReturns ¶
func (*FakeRule) FlagsReturnsOnCall ¶
func (*FakeRule) Invocations ¶
type FakeRuleTranslator ¶
type FakeRuleTranslator struct { TranslateRuleStub func(handle string, gardenRule 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(handle string, gardenRule 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) 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.