fakes

package
v0.333.2-candidate Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeChain

type FakeChain struct {
	SetupStub func(logPrefix string) error

	TearDownStub func() error

	AppendRuleStub func(source string, destination string, jump iptables.Action) error

	DeleteRuleStub func(source string, destination string, jump iptables.Action) error

	AppendNatRuleStub func(source string, destination string, jump iptables.Action, to net.IP) error

	DeleteNatRuleStub func(source string, destination string, jump iptables.Action, to net.IP) error

	PrependFilterRuleStub func(rule garden.NetOutRule) error
	// contains filtered or unexported fields
}

func (*FakeChain) AppendNatRule

func (fake *FakeChain) AppendNatRule(source string, destination string, jump iptables.Action, to net.IP) error

func (*FakeChain) AppendNatRuleArgsForCall

func (fake *FakeChain) AppendNatRuleArgsForCall(i int) (string, string, iptables.Action, net.IP)

func (*FakeChain) AppendNatRuleCallCount

func (fake *FakeChain) AppendNatRuleCallCount() int

func (*FakeChain) AppendNatRuleReturns

func (fake *FakeChain) AppendNatRuleReturns(result1 error)

func (*FakeChain) AppendRule

func (fake *FakeChain) AppendRule(source string, destination string, jump iptables.Action) error

func (*FakeChain) AppendRuleArgsForCall

func (fake *FakeChain) AppendRuleArgsForCall(i int) (string, string, iptables.Action)

func (*FakeChain) AppendRuleCallCount

func (fake *FakeChain) AppendRuleCallCount() int

func (*FakeChain) AppendRuleReturns

func (fake *FakeChain) AppendRuleReturns(result1 error)

func (*FakeChain) DeleteNatRule

func (fake *FakeChain) DeleteNatRule(source string, destination string, jump iptables.Action, to net.IP) error

func (*FakeChain) DeleteNatRuleArgsForCall

func (fake *FakeChain) DeleteNatRuleArgsForCall(i int) (string, string, iptables.Action, net.IP)

func (*FakeChain) DeleteNatRuleCallCount

func (fake *FakeChain) DeleteNatRuleCallCount() int

func (*FakeChain) DeleteNatRuleReturns

func (fake *FakeChain) DeleteNatRuleReturns(result1 error)

func (*FakeChain) DeleteRule

func (fake *FakeChain) DeleteRule(source string, destination string, jump iptables.Action) error

func (*FakeChain) DeleteRuleArgsForCall

func (fake *FakeChain) DeleteRuleArgsForCall(i int) (string, string, iptables.Action)

func (*FakeChain) DeleteRuleCallCount

func (fake *FakeChain) DeleteRuleCallCount() int

func (*FakeChain) DeleteRuleReturns

func (fake *FakeChain) DeleteRuleReturns(result1 error)

func (*FakeChain) PrependFilterRule

func (fake *FakeChain) PrependFilterRule(rule garden.NetOutRule) error

func (*FakeChain) PrependFilterRuleArgsForCall

func (fake *FakeChain) PrependFilterRuleArgsForCall(i int) garden.NetOutRule

func (*FakeChain) PrependFilterRuleCallCount

func (fake *FakeChain) PrependFilterRuleCallCount() int

func (*FakeChain) PrependFilterRuleReturns

func (fake *FakeChain) PrependFilterRuleReturns(result1 error)

func (*FakeChain) Setup

func (fake *FakeChain) Setup(logPrefix string) error

func (*FakeChain) SetupArgsForCall

func (fake *FakeChain) SetupArgsForCall(i int) string

func (*FakeChain) SetupCallCount

func (fake *FakeChain) SetupCallCount() int

func (*FakeChain) SetupReturns

func (fake *FakeChain) SetupReturns(result1 error)

func (*FakeChain) TearDown

func (fake *FakeChain) TearDown() error

func (*FakeChain) TearDownCallCount

func (fake *FakeChain) TearDownCallCount() int

func (*FakeChain) TearDownReturns

func (fake *FakeChain) TearDownReturns(result1 error)

Jump to

Keyboard shortcuts

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