iptablesfakes

package
v0.0.0-...-d5272b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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

type FakeRule struct {
	FlagsStub func(string) []string
	// contains filtered or unexported fields
}

func (*FakeRule) Flags

func (fake *FakeRule) Flags(arg1 string) []string

func (*FakeRule) FlagsArgsForCall

func (fake *FakeRule) FlagsArgsForCall(i int) string

func (*FakeRule) FlagsCallCount

func (fake *FakeRule) FlagsCallCount() int

func (*FakeRule) FlagsCalls

func (fake *FakeRule) FlagsCalls(stub func(string) []string)

func (*FakeRule) FlagsReturns

func (fake *FakeRule) FlagsReturns(result1 []string)

func (*FakeRule) FlagsReturnsOnCall

func (fake *FakeRule) FlagsReturnsOnCall(i int, result1 []string)

func (*FakeRule) Invocations

func (fake *FakeRule) Invocations() map[string][][]interface{}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL