iptablesfakes

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 {
	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{}

Jump to

Keyboard shortcuts

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