kawasakifakes

package
v0.0.0-...-3115820 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 7 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.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeConfigCreator

type FakeConfigCreator struct {
	CreateStub func(lager.Logger, string, *net.IPNet, net.IP) (kawasaki.NetworkConfig, error)
	// contains filtered or unexported fields
}

func (*FakeConfigCreator) Create

func (fake *FakeConfigCreator) Create(arg1 lager.Logger, arg2 string, arg3 *net.IPNet, arg4 net.IP) (kawasaki.NetworkConfig, error)

func (*FakeConfigCreator) CreateArgsForCall

func (fake *FakeConfigCreator) CreateArgsForCall(i int) (lager.Logger, string, *net.IPNet, net.IP)

func (*FakeConfigCreator) CreateCallCount

func (fake *FakeConfigCreator) CreateCallCount() int

func (*FakeConfigCreator) CreateCalls

func (fake *FakeConfigCreator) CreateCalls(stub func(lager.Logger, string, *net.IPNet, net.IP) (kawasaki.NetworkConfig, error))

func (*FakeConfigCreator) CreateReturns

func (fake *FakeConfigCreator) CreateReturns(result1 kawasaki.NetworkConfig, result2 error)

func (*FakeConfigCreator) CreateReturnsOnCall

func (fake *FakeConfigCreator) CreateReturnsOnCall(i int, result1 kawasaki.NetworkConfig, result2 error)

func (*FakeConfigCreator) Invocations

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

type FakeConfigStore

type FakeConfigStore struct {
	GetStub func(string, string) (string, bool)

	SetStub func(string, string, string)
	// contains filtered or unexported fields
}

func (*FakeConfigStore) Get

func (fake *FakeConfigStore) Get(arg1 string, arg2 string) (string, bool)

func (*FakeConfigStore) GetArgsForCall

func (fake *FakeConfigStore) GetArgsForCall(i int) (string, string)

func (*FakeConfigStore) GetCallCount

func (fake *FakeConfigStore) GetCallCount() int

func (*FakeConfigStore) GetCalls

func (fake *FakeConfigStore) GetCalls(stub func(string, string) (string, bool))

func (*FakeConfigStore) GetReturns

func (fake *FakeConfigStore) GetReturns(result1 string, result2 bool)

func (*FakeConfigStore) GetReturnsOnCall

func (fake *FakeConfigStore) GetReturnsOnCall(i int, result1 string, result2 bool)

func (*FakeConfigStore) Invocations

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

func (*FakeConfigStore) Set

func (fake *FakeConfigStore) Set(arg1 string, arg2 string, arg3 string)

func (*FakeConfigStore) SetArgsForCall

func (fake *FakeConfigStore) SetArgsForCall(i int) (string, string, string)

func (*FakeConfigStore) SetCallCount

func (fake *FakeConfigStore) SetCallCount() int

func (*FakeConfigStore) SetCalls

func (fake *FakeConfigStore) SetCalls(stub func(string, string, string))

type FakeConfigurer

type FakeConfigurer struct {
	ApplyStub func(lager.Logger, kawasaki.NetworkConfig, int) error

	DestroyBridgeStub func(lager.Logger, kawasaki.NetworkConfig) error

	DestroyIPTablesRulesStub func(lager.Logger, kawasaki.NetworkConfig) error
	// contains filtered or unexported fields
}

func (*FakeConfigurer) Apply

func (fake *FakeConfigurer) Apply(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error

func (*FakeConfigurer) ApplyArgsForCall

func (fake *FakeConfigurer) ApplyArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)

func (*FakeConfigurer) ApplyCallCount

func (fake *FakeConfigurer) ApplyCallCount() int

func (*FakeConfigurer) ApplyCalls

func (fake *FakeConfigurer) ApplyCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)

func (*FakeConfigurer) ApplyReturns

func (fake *FakeConfigurer) ApplyReturns(result1 error)

func (*FakeConfigurer) ApplyReturnsOnCall

func (fake *FakeConfigurer) ApplyReturnsOnCall(i int, result1 error)

func (*FakeConfigurer) DestroyBridge

func (fake *FakeConfigurer) DestroyBridge(arg1 lager.Logger, arg2 kawasaki.NetworkConfig) error

func (*FakeConfigurer) DestroyBridgeArgsForCall

func (fake *FakeConfigurer) DestroyBridgeArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig)

func (*FakeConfigurer) DestroyBridgeCallCount

func (fake *FakeConfigurer) DestroyBridgeCallCount() int

func (*FakeConfigurer) DestroyBridgeCalls

func (fake *FakeConfigurer) DestroyBridgeCalls(stub func(lager.Logger, kawasaki.NetworkConfig) error)

func (*FakeConfigurer) DestroyBridgeReturns

func (fake *FakeConfigurer) DestroyBridgeReturns(result1 error)

func (*FakeConfigurer) DestroyBridgeReturnsOnCall

func (fake *FakeConfigurer) DestroyBridgeReturnsOnCall(i int, result1 error)

func (*FakeConfigurer) DestroyIPTablesRules

func (fake *FakeConfigurer) DestroyIPTablesRules(arg1 lager.Logger, arg2 kawasaki.NetworkConfig) error

func (*FakeConfigurer) DestroyIPTablesRulesArgsForCall

func (fake *FakeConfigurer) DestroyIPTablesRulesArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig)

func (*FakeConfigurer) DestroyIPTablesRulesCallCount

func (fake *FakeConfigurer) DestroyIPTablesRulesCallCount() int

func (*FakeConfigurer) DestroyIPTablesRulesCalls

func (fake *FakeConfigurer) DestroyIPTablesRulesCalls(stub func(lager.Logger, kawasaki.NetworkConfig) error)

func (*FakeConfigurer) DestroyIPTablesRulesReturns

func (fake *FakeConfigurer) DestroyIPTablesRulesReturns(result1 error)

func (*FakeConfigurer) DestroyIPTablesRulesReturnsOnCall

func (fake *FakeConfigurer) DestroyIPTablesRulesReturnsOnCall(i int, result1 error)

func (*FakeConfigurer) Invocations

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

type FakeContainerConfigurer

type FakeContainerConfigurer struct {
	ApplyStub func(lager.Logger, kawasaki.NetworkConfig, int) error
	// contains filtered or unexported fields
}

func (*FakeContainerConfigurer) Apply

func (fake *FakeContainerConfigurer) Apply(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error

func (*FakeContainerConfigurer) ApplyArgsForCall

func (fake *FakeContainerConfigurer) ApplyArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)

func (*FakeContainerConfigurer) ApplyCallCount

func (fake *FakeContainerConfigurer) ApplyCallCount() int

func (*FakeContainerConfigurer) ApplyCalls

func (fake *FakeContainerConfigurer) ApplyCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)

func (*FakeContainerConfigurer) ApplyReturns

func (fake *FakeContainerConfigurer) ApplyReturns(result1 error)

func (*FakeContainerConfigurer) ApplyReturnsOnCall

func (fake *FakeContainerConfigurer) ApplyReturnsOnCall(i int, result1 error)

func (*FakeContainerConfigurer) Invocations

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

type FakeDnsResolvConfigurer

type FakeDnsResolvConfigurer struct {
	ConfigureStub func(lager.Logger, kawasaki.NetworkConfig, int) error
	// contains filtered or unexported fields
}

func (*FakeDnsResolvConfigurer) Configure

func (fake *FakeDnsResolvConfigurer) Configure(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error

func (*FakeDnsResolvConfigurer) ConfigureArgsForCall

func (fake *FakeDnsResolvConfigurer) ConfigureArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)

func (*FakeDnsResolvConfigurer) ConfigureCallCount

func (fake *FakeDnsResolvConfigurer) ConfigureCallCount() int

func (*FakeDnsResolvConfigurer) ConfigureCalls

func (fake *FakeDnsResolvConfigurer) ConfigureCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)

func (*FakeDnsResolvConfigurer) ConfigureReturns

func (fake *FakeDnsResolvConfigurer) ConfigureReturns(result1 error)

func (*FakeDnsResolvConfigurer) ConfigureReturnsOnCall

func (fake *FakeDnsResolvConfigurer) ConfigureReturnsOnCall(i int, result1 error)

func (*FakeDnsResolvConfigurer) Invocations

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

type FakeFirewallOpener

type FakeFirewallOpener struct {
	BulkOpenStub func(lager.Logger, string, string, []garden.NetOutRule) error

	OpenStub func(lager.Logger, string, string, garden.NetOutRule) error
	// contains filtered or unexported fields
}

func (*FakeFirewallOpener) BulkOpen

func (fake *FakeFirewallOpener) BulkOpen(arg1 lager.Logger, arg2 string, arg3 string, arg4 []garden.NetOutRule) error

func (*FakeFirewallOpener) BulkOpenArgsForCall

func (fake *FakeFirewallOpener) BulkOpenArgsForCall(i int) (lager.Logger, string, string, []garden.NetOutRule)

func (*FakeFirewallOpener) BulkOpenCallCount

func (fake *FakeFirewallOpener) BulkOpenCallCount() int

func (*FakeFirewallOpener) BulkOpenCalls

func (fake *FakeFirewallOpener) BulkOpenCalls(stub func(lager.Logger, string, string, []garden.NetOutRule) error)

func (*FakeFirewallOpener) BulkOpenReturns

func (fake *FakeFirewallOpener) BulkOpenReturns(result1 error)

func (*FakeFirewallOpener) BulkOpenReturnsOnCall

func (fake *FakeFirewallOpener) BulkOpenReturnsOnCall(i int, result1 error)

func (*FakeFirewallOpener) Invocations

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

func (*FakeFirewallOpener) Open

func (fake *FakeFirewallOpener) Open(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.NetOutRule) error

func (*FakeFirewallOpener) OpenArgsForCall

func (fake *FakeFirewallOpener) OpenArgsForCall(i int) (lager.Logger, string, string, garden.NetOutRule)

func (*FakeFirewallOpener) OpenCallCount

func (fake *FakeFirewallOpener) OpenCallCount() int

func (*FakeFirewallOpener) OpenCalls

func (fake *FakeFirewallOpener) OpenCalls(stub func(lager.Logger, string, string, garden.NetOutRule) error)

func (*FakeFirewallOpener) OpenReturns

func (fake *FakeFirewallOpener) OpenReturns(result1 error)

func (*FakeFirewallOpener) OpenReturnsOnCall

func (fake *FakeFirewallOpener) OpenReturnsOnCall(i int, result1 error)

type FakeHostConfigurer

type FakeHostConfigurer struct {
	ApplyStub func(lager.Logger, kawasaki.NetworkConfig, int) error

	DestroyStub func(kawasaki.NetworkConfig) error
	// contains filtered or unexported fields
}

func (*FakeHostConfigurer) Apply

func (fake *FakeHostConfigurer) Apply(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error

func (*FakeHostConfigurer) ApplyArgsForCall

func (fake *FakeHostConfigurer) ApplyArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)

func (*FakeHostConfigurer) ApplyCallCount

func (fake *FakeHostConfigurer) ApplyCallCount() int

func (*FakeHostConfigurer) ApplyCalls

func (fake *FakeHostConfigurer) ApplyCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)

func (*FakeHostConfigurer) ApplyReturns

func (fake *FakeHostConfigurer) ApplyReturns(result1 error)

func (*FakeHostConfigurer) ApplyReturnsOnCall

func (fake *FakeHostConfigurer) ApplyReturnsOnCall(i int, result1 error)

func (*FakeHostConfigurer) Destroy

func (fake *FakeHostConfigurer) Destroy(arg1 kawasaki.NetworkConfig) error

func (*FakeHostConfigurer) DestroyArgsForCall

func (fake *FakeHostConfigurer) DestroyArgsForCall(i int) kawasaki.NetworkConfig

func (*FakeHostConfigurer) DestroyCallCount

func (fake *FakeHostConfigurer) DestroyCallCount() int

func (*FakeHostConfigurer) DestroyCalls

func (fake *FakeHostConfigurer) DestroyCalls(stub func(kawasaki.NetworkConfig) error)

func (*FakeHostConfigurer) DestroyReturns

func (fake *FakeHostConfigurer) DestroyReturns(result1 error)

func (*FakeHostConfigurer) DestroyReturnsOnCall

func (fake *FakeHostConfigurer) DestroyReturnsOnCall(i int, result1 error)

func (*FakeHostConfigurer) Invocations

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

type FakeHostFileCompiler

type FakeHostFileCompiler struct {
	CompileStub func(lager.Logger, net.IP, string, []string) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeHostFileCompiler) Compile

func (fake *FakeHostFileCompiler) Compile(arg1 lager.Logger, arg2 net.IP, arg3 string, arg4 []string) ([]byte, error)

func (*FakeHostFileCompiler) CompileArgsForCall

func (fake *FakeHostFileCompiler) CompileArgsForCall(i int) (lager.Logger, net.IP, string, []string)

func (*FakeHostFileCompiler) CompileCallCount

func (fake *FakeHostFileCompiler) CompileCallCount() int

func (*FakeHostFileCompiler) CompileCalls

func (fake *FakeHostFileCompiler) CompileCalls(stub func(lager.Logger, net.IP, string, []string) ([]byte, error))

func (*FakeHostFileCompiler) CompileReturns

func (fake *FakeHostFileCompiler) CompileReturns(result1 []byte, result2 error)

func (*FakeHostFileCompiler) CompileReturnsOnCall

func (fake *FakeHostFileCompiler) CompileReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeHostFileCompiler) Invocations

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

type FakeIDGenerator

type FakeIDGenerator struct {
	GenerateStub func() string
	// contains filtered or unexported fields
}

func (*FakeIDGenerator) Generate

func (fake *FakeIDGenerator) Generate() string

func (*FakeIDGenerator) GenerateCallCount

func (fake *FakeIDGenerator) GenerateCallCount() int

func (*FakeIDGenerator) GenerateCalls

func (fake *FakeIDGenerator) GenerateCalls(stub func() string)

func (*FakeIDGenerator) GenerateReturns

func (fake *FakeIDGenerator) GenerateReturns(result1 string)

func (*FakeIDGenerator) GenerateReturnsOnCall

func (fake *FakeIDGenerator) GenerateReturnsOnCall(i int, result1 string)

func (*FakeIDGenerator) Invocations

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

type FakeInstanceChainCreator

type FakeInstanceChainCreator struct {
	CreateStub func(lager.Logger, string, string, string, net.IP, *net.IPNet) error

	DestroyStub func(lager.Logger, string) error
	// contains filtered or unexported fields
}

func (*FakeInstanceChainCreator) Create

func (fake *FakeInstanceChainCreator) Create(arg1 lager.Logger, arg2 string, arg3 string, arg4 string, arg5 net.IP, arg6 *net.IPNet) error

func (*FakeInstanceChainCreator) CreateArgsForCall

func (fake *FakeInstanceChainCreator) CreateArgsForCall(i int) (lager.Logger, string, string, string, net.IP, *net.IPNet)

func (*FakeInstanceChainCreator) CreateCallCount

func (fake *FakeInstanceChainCreator) CreateCallCount() int

func (*FakeInstanceChainCreator) CreateCalls

func (fake *FakeInstanceChainCreator) CreateCalls(stub func(lager.Logger, string, string, string, net.IP, *net.IPNet) error)

func (*FakeInstanceChainCreator) CreateReturns

func (fake *FakeInstanceChainCreator) CreateReturns(result1 error)

func (*FakeInstanceChainCreator) CreateReturnsOnCall

func (fake *FakeInstanceChainCreator) CreateReturnsOnCall(i int, result1 error)

func (*FakeInstanceChainCreator) Destroy

func (fake *FakeInstanceChainCreator) Destroy(arg1 lager.Logger, arg2 string) error

func (*FakeInstanceChainCreator) DestroyArgsForCall

func (fake *FakeInstanceChainCreator) DestroyArgsForCall(i int) (lager.Logger, string)

func (*FakeInstanceChainCreator) DestroyCallCount

func (fake *FakeInstanceChainCreator) DestroyCallCount() int

func (*FakeInstanceChainCreator) DestroyCalls

func (fake *FakeInstanceChainCreator) DestroyCalls(stub func(lager.Logger, string) error)

func (*FakeInstanceChainCreator) DestroyReturns

func (fake *FakeInstanceChainCreator) DestroyReturns(result1 error)

func (*FakeInstanceChainCreator) DestroyReturnsOnCall

func (fake *FakeInstanceChainCreator) DestroyReturnsOnCall(i int, result1 error)

func (*FakeInstanceChainCreator) Invocations

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

type FakeNetnsExecer

type FakeNetnsExecer struct {
	ExecStub func(*os.File, func() error) error
	// contains filtered or unexported fields
}

func (*FakeNetnsExecer) Exec

func (fake *FakeNetnsExecer) Exec(arg1 *os.File, arg2 func() error) error

func (*FakeNetnsExecer) ExecArgsForCall

func (fake *FakeNetnsExecer) ExecArgsForCall(i int) (*os.File, func() error)

func (*FakeNetnsExecer) ExecCallCount

func (fake *FakeNetnsExecer) ExecCallCount() int

func (*FakeNetnsExecer) ExecCalls

func (fake *FakeNetnsExecer) ExecCalls(stub func(*os.File, func() error) error)

func (*FakeNetnsExecer) ExecReturns

func (fake *FakeNetnsExecer) ExecReturns(result1 error)

func (*FakeNetnsExecer) ExecReturnsOnCall

func (fake *FakeNetnsExecer) ExecReturnsOnCall(i int, result1 error)

func (*FakeNetnsExecer) Invocations

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

type FakeNetworkDepot

type FakeNetworkDepot struct {
	DestroyStub func(lager.Logger, string) error

	SetupBindMountsStub func(lager.Logger, string, bool, string) ([]garden.BindMount, error)
	// contains filtered or unexported fields
}

func (*FakeNetworkDepot) Destroy

func (fake *FakeNetworkDepot) Destroy(arg1 lager.Logger, arg2 string) error

func (*FakeNetworkDepot) DestroyArgsForCall

func (fake *FakeNetworkDepot) DestroyArgsForCall(i int) (lager.Logger, string)

func (*FakeNetworkDepot) DestroyCallCount

func (fake *FakeNetworkDepot) DestroyCallCount() int

func (*FakeNetworkDepot) DestroyCalls

func (fake *FakeNetworkDepot) DestroyCalls(stub func(lager.Logger, string) error)

func (*FakeNetworkDepot) DestroyReturns

func (fake *FakeNetworkDepot) DestroyReturns(result1 error)

func (*FakeNetworkDepot) DestroyReturnsOnCall

func (fake *FakeNetworkDepot) DestroyReturnsOnCall(i int, result1 error)

func (*FakeNetworkDepot) Invocations

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

func (*FakeNetworkDepot) SetupBindMounts

func (fake *FakeNetworkDepot) SetupBindMounts(arg1 lager.Logger, arg2 string, arg3 bool, arg4 string) ([]garden.BindMount, error)

func (*FakeNetworkDepot) SetupBindMountsArgsForCall

func (fake *FakeNetworkDepot) SetupBindMountsArgsForCall(i int) (lager.Logger, string, bool, string)

func (*FakeNetworkDepot) SetupBindMountsCallCount

func (fake *FakeNetworkDepot) SetupBindMountsCallCount() int

func (*FakeNetworkDepot) SetupBindMountsCalls

func (fake *FakeNetworkDepot) SetupBindMountsCalls(stub func(lager.Logger, string, bool, string) ([]garden.BindMount, error))

func (*FakeNetworkDepot) SetupBindMountsReturns

func (fake *FakeNetworkDepot) SetupBindMountsReturns(result1 []garden.BindMount, result2 error)

func (*FakeNetworkDepot) SetupBindMountsReturnsOnCall

func (fake *FakeNetworkDepot) SetupBindMountsReturnsOnCall(i int, result1 []garden.BindMount, result2 error)

type FakePortForwarder

type FakePortForwarder struct {
	ForwardStub func(kawasaki.PortForwarderSpec) error
	// contains filtered or unexported fields
}

func (*FakePortForwarder) Forward

func (fake *FakePortForwarder) Forward(arg1 kawasaki.PortForwarderSpec) error

func (*FakePortForwarder) ForwardArgsForCall

func (fake *FakePortForwarder) ForwardArgsForCall(i int) kawasaki.PortForwarderSpec

func (*FakePortForwarder) ForwardCallCount

func (fake *FakePortForwarder) ForwardCallCount() int

func (*FakePortForwarder) ForwardCalls

func (fake *FakePortForwarder) ForwardCalls(stub func(kawasaki.PortForwarderSpec) error)

func (*FakePortForwarder) ForwardReturns

func (fake *FakePortForwarder) ForwardReturns(result1 error)

func (*FakePortForwarder) ForwardReturnsOnCall

func (fake *FakePortForwarder) ForwardReturnsOnCall(i int, result1 error)

func (*FakePortForwarder) Invocations

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

type FakePortPool

type FakePortPool struct {
	AcquireStub func() (uint32, error)

	ReleaseStub func(uint32)

	RemoveStub func(uint32) error
	// contains filtered or unexported fields
}

func (*FakePortPool) Acquire

func (fake *FakePortPool) Acquire() (uint32, error)

func (*FakePortPool) AcquireCallCount

func (fake *FakePortPool) AcquireCallCount() int

func (*FakePortPool) AcquireCalls

func (fake *FakePortPool) AcquireCalls(stub func() (uint32, error))

func (*FakePortPool) AcquireReturns

func (fake *FakePortPool) AcquireReturns(result1 uint32, result2 error)

func (*FakePortPool) AcquireReturnsOnCall

func (fake *FakePortPool) AcquireReturnsOnCall(i int, result1 uint32, result2 error)

func (*FakePortPool) Invocations

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

func (*FakePortPool) Release

func (fake *FakePortPool) Release(arg1 uint32)

func (*FakePortPool) ReleaseArgsForCall

func (fake *FakePortPool) ReleaseArgsForCall(i int) uint32

func (*FakePortPool) ReleaseCallCount

func (fake *FakePortPool) ReleaseCallCount() int

func (*FakePortPool) ReleaseCalls

func (fake *FakePortPool) ReleaseCalls(stub func(uint32))

func (*FakePortPool) Remove

func (fake *FakePortPool) Remove(arg1 uint32) error

func (*FakePortPool) RemoveArgsForCall

func (fake *FakePortPool) RemoveArgsForCall(i int) uint32

func (*FakePortPool) RemoveCallCount

func (fake *FakePortPool) RemoveCallCount() int

func (*FakePortPool) RemoveCalls

func (fake *FakePortPool) RemoveCalls(stub func(uint32) error)

func (*FakePortPool) RemoveReturns

func (fake *FakePortPool) RemoveReturns(result1 error)

func (*FakePortPool) RemoveReturnsOnCall

func (fake *FakePortPool) RemoveReturnsOnCall(i int, result1 error)

type FakeResolvCompiler

type FakeResolvCompiler struct {
	DetermineStub func(string, net.IP, []net.IP, []net.IP, []net.IP, []string) []string
	// contains filtered or unexported fields
}

func (*FakeResolvCompiler) Determine

func (fake *FakeResolvCompiler) Determine(arg1 string, arg2 net.IP, arg3 []net.IP, arg4 []net.IP, arg5 []net.IP, arg6 []string) []string

func (*FakeResolvCompiler) DetermineArgsForCall

func (fake *FakeResolvCompiler) DetermineArgsForCall(i int) (string, net.IP, []net.IP, []net.IP, []net.IP, []string)

func (*FakeResolvCompiler) DetermineCallCount

func (fake *FakeResolvCompiler) DetermineCallCount() int

func (*FakeResolvCompiler) DetermineCalls

func (fake *FakeResolvCompiler) DetermineCalls(stub func(string, net.IP, []net.IP, []net.IP, []net.IP, []string) []string)

func (*FakeResolvCompiler) DetermineReturns

func (fake *FakeResolvCompiler) DetermineReturns(result1 []string)

func (*FakeResolvCompiler) DetermineReturnsOnCall

func (fake *FakeResolvCompiler) DetermineReturnsOnCall(i int, result1 []string)

func (*FakeResolvCompiler) Invocations

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

type FakeSpecParser

type FakeSpecParser struct {
	ParseStub func(lager.Logger, string) (subnets.SubnetSelector, subnets.IPSelector, error)
	// contains filtered or unexported fields
}

func (*FakeSpecParser) Invocations

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

func (*FakeSpecParser) Parse

func (*FakeSpecParser) ParseArgsForCall

func (fake *FakeSpecParser) ParseArgsForCall(i int) (lager.Logger, string)

func (*FakeSpecParser) ParseCallCount

func (fake *FakeSpecParser) ParseCallCount() int

func (*FakeSpecParser) ParseCalls

func (fake *FakeSpecParser) ParseCalls(stub func(lager.Logger, string) (subnets.SubnetSelector, subnets.IPSelector, error))

func (*FakeSpecParser) ParseReturns

func (fake *FakeSpecParser) ParseReturns(result1 subnets.SubnetSelector, result2 subnets.IPSelector, result3 error)

func (*FakeSpecParser) ParseReturnsOnCall

func (fake *FakeSpecParser) ParseReturnsOnCall(i int, result1 subnets.SubnetSelector, result2 subnets.IPSelector, result3 error)

Jump to

Keyboard shortcuts

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