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 ¶
- type FakeConfigCreator
- func (fake *FakeConfigCreator) Create(arg1 lager.Logger, arg2 string, arg3 *net.IPNet, arg4 net.IP) (kawasaki.NetworkConfig, error)
- func (fake *FakeConfigCreator) CreateArgsForCall(i int) (lager.Logger, string, *net.IPNet, net.IP)
- func (fake *FakeConfigCreator) CreateCallCount() int
- func (fake *FakeConfigCreator) CreateCalls(...)
- func (fake *FakeConfigCreator) CreateReturns(result1 kawasaki.NetworkConfig, result2 error)
- func (fake *FakeConfigCreator) CreateReturnsOnCall(i int, result1 kawasaki.NetworkConfig, result2 error)
- func (fake *FakeConfigCreator) Invocations() map[string][][]interface{}
- type FakeConfigStore
- func (fake *FakeConfigStore) Get(arg1 string, arg2 string) (string, bool)
- func (fake *FakeConfigStore) GetArgsForCall(i int) (string, string)
- func (fake *FakeConfigStore) GetCallCount() int
- func (fake *FakeConfigStore) GetCalls(stub func(string, string) (string, bool))
- func (fake *FakeConfigStore) GetReturns(result1 string, result2 bool)
- func (fake *FakeConfigStore) GetReturnsOnCall(i int, result1 string, result2 bool)
- func (fake *FakeConfigStore) Invocations() map[string][][]interface{}
- func (fake *FakeConfigStore) Set(arg1 string, arg2 string, arg3 string)
- func (fake *FakeConfigStore) SetArgsForCall(i int) (string, string, string)
- func (fake *FakeConfigStore) SetCallCount() int
- func (fake *FakeConfigStore) SetCalls(stub func(string, string, string))
- type FakeConfigurer
- func (fake *FakeConfigurer) Apply(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error
- func (fake *FakeConfigurer) ApplyArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)
- func (fake *FakeConfigurer) ApplyCallCount() int
- func (fake *FakeConfigurer) ApplyCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)
- func (fake *FakeConfigurer) ApplyReturns(result1 error)
- func (fake *FakeConfigurer) ApplyReturnsOnCall(i int, result1 error)
- func (fake *FakeConfigurer) DestroyBridge(arg1 lager.Logger, arg2 kawasaki.NetworkConfig) error
- func (fake *FakeConfigurer) DestroyBridgeArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig)
- func (fake *FakeConfigurer) DestroyBridgeCallCount() int
- func (fake *FakeConfigurer) DestroyBridgeCalls(stub func(lager.Logger, kawasaki.NetworkConfig) error)
- func (fake *FakeConfigurer) DestroyBridgeReturns(result1 error)
- func (fake *FakeConfigurer) DestroyBridgeReturnsOnCall(i int, result1 error)
- func (fake *FakeConfigurer) DestroyIPTablesRules(arg1 lager.Logger, arg2 kawasaki.NetworkConfig) error
- func (fake *FakeConfigurer) DestroyIPTablesRulesArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig)
- func (fake *FakeConfigurer) DestroyIPTablesRulesCallCount() int
- func (fake *FakeConfigurer) DestroyIPTablesRulesCalls(stub func(lager.Logger, kawasaki.NetworkConfig) error)
- func (fake *FakeConfigurer) DestroyIPTablesRulesReturns(result1 error)
- func (fake *FakeConfigurer) DestroyIPTablesRulesReturnsOnCall(i int, result1 error)
- func (fake *FakeConfigurer) Invocations() map[string][][]interface{}
- type FakeContainerConfigurer
- func (fake *FakeContainerConfigurer) Apply(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error
- func (fake *FakeContainerConfigurer) ApplyArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)
- func (fake *FakeContainerConfigurer) ApplyCallCount() int
- func (fake *FakeContainerConfigurer) ApplyCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)
- func (fake *FakeContainerConfigurer) ApplyReturns(result1 error)
- func (fake *FakeContainerConfigurer) ApplyReturnsOnCall(i int, result1 error)
- func (fake *FakeContainerConfigurer) Invocations() map[string][][]interface{}
- type FakeDnsResolvConfigurer
- func (fake *FakeDnsResolvConfigurer) Configure(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error
- func (fake *FakeDnsResolvConfigurer) ConfigureArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)
- func (fake *FakeDnsResolvConfigurer) ConfigureCallCount() int
- func (fake *FakeDnsResolvConfigurer) ConfigureCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)
- func (fake *FakeDnsResolvConfigurer) ConfigureReturns(result1 error)
- func (fake *FakeDnsResolvConfigurer) ConfigureReturnsOnCall(i int, result1 error)
- func (fake *FakeDnsResolvConfigurer) Invocations() map[string][][]interface{}
- type FakeFirewallOpener
- func (fake *FakeFirewallOpener) BulkOpen(arg1 lager.Logger, arg2 string, arg3 string, arg4 []garden.NetOutRule) error
- func (fake *FakeFirewallOpener) BulkOpenArgsForCall(i int) (lager.Logger, string, string, []garden.NetOutRule)
- func (fake *FakeFirewallOpener) BulkOpenCallCount() int
- func (fake *FakeFirewallOpener) BulkOpenCalls(stub func(lager.Logger, string, string, []garden.NetOutRule) error)
- func (fake *FakeFirewallOpener) BulkOpenReturns(result1 error)
- func (fake *FakeFirewallOpener) BulkOpenReturnsOnCall(i int, result1 error)
- func (fake *FakeFirewallOpener) Invocations() map[string][][]interface{}
- func (fake *FakeFirewallOpener) Open(arg1 lager.Logger, arg2 string, arg3 string, arg4 garden.NetOutRule) error
- func (fake *FakeFirewallOpener) OpenArgsForCall(i int) (lager.Logger, string, string, garden.NetOutRule)
- func (fake *FakeFirewallOpener) OpenCallCount() int
- func (fake *FakeFirewallOpener) OpenCalls(stub func(lager.Logger, string, string, garden.NetOutRule) error)
- func (fake *FakeFirewallOpener) OpenReturns(result1 error)
- func (fake *FakeFirewallOpener) OpenReturnsOnCall(i int, result1 error)
- type FakeHostConfigurer
- func (fake *FakeHostConfigurer) Apply(arg1 lager.Logger, arg2 kawasaki.NetworkConfig, arg3 int) error
- func (fake *FakeHostConfigurer) ApplyArgsForCall(i int) (lager.Logger, kawasaki.NetworkConfig, int)
- func (fake *FakeHostConfigurer) ApplyCallCount() int
- func (fake *FakeHostConfigurer) ApplyCalls(stub func(lager.Logger, kawasaki.NetworkConfig, int) error)
- func (fake *FakeHostConfigurer) ApplyReturns(result1 error)
- func (fake *FakeHostConfigurer) ApplyReturnsOnCall(i int, result1 error)
- func (fake *FakeHostConfigurer) Destroy(arg1 kawasaki.NetworkConfig) error
- func (fake *FakeHostConfigurer) DestroyArgsForCall(i int) kawasaki.NetworkConfig
- func (fake *FakeHostConfigurer) DestroyCallCount() int
- func (fake *FakeHostConfigurer) DestroyCalls(stub func(kawasaki.NetworkConfig) error)
- func (fake *FakeHostConfigurer) DestroyReturns(result1 error)
- func (fake *FakeHostConfigurer) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakeHostConfigurer) Invocations() map[string][][]interface{}
- type FakeHostFileCompiler
- func (fake *FakeHostFileCompiler) Compile(arg1 lager.Logger, arg2 net.IP, arg3 string, arg4 []string) ([]byte, error)
- func (fake *FakeHostFileCompiler) CompileArgsForCall(i int) (lager.Logger, net.IP, string, []string)
- func (fake *FakeHostFileCompiler) CompileCallCount() int
- func (fake *FakeHostFileCompiler) CompileCalls(stub func(lager.Logger, net.IP, string, []string) ([]byte, error))
- func (fake *FakeHostFileCompiler) CompileReturns(result1 []byte, result2 error)
- func (fake *FakeHostFileCompiler) CompileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeHostFileCompiler) Invocations() map[string][][]interface{}
- type FakeIDGenerator
- func (fake *FakeIDGenerator) Generate() string
- func (fake *FakeIDGenerator) GenerateCallCount() int
- func (fake *FakeIDGenerator) GenerateCalls(stub func() string)
- func (fake *FakeIDGenerator) GenerateReturns(result1 string)
- func (fake *FakeIDGenerator) GenerateReturnsOnCall(i int, result1 string)
- func (fake *FakeIDGenerator) Invocations() map[string][][]interface{}
- type FakeInstanceChainCreator
- func (fake *FakeInstanceChainCreator) Create(arg1 lager.Logger, arg2 string, arg3 string, arg4 string, arg5 net.IP, ...) error
- func (fake *FakeInstanceChainCreator) CreateArgsForCall(i int) (lager.Logger, string, string, string, net.IP, *net.IPNet)
- func (fake *FakeInstanceChainCreator) CreateCallCount() int
- func (fake *FakeInstanceChainCreator) CreateCalls(stub func(lager.Logger, string, string, string, net.IP, *net.IPNet) error)
- func (fake *FakeInstanceChainCreator) CreateReturns(result1 error)
- func (fake *FakeInstanceChainCreator) CreateReturnsOnCall(i int, result1 error)
- func (fake *FakeInstanceChainCreator) Destroy(arg1 lager.Logger, arg2 string) error
- func (fake *FakeInstanceChainCreator) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeInstanceChainCreator) DestroyCallCount() int
- func (fake *FakeInstanceChainCreator) DestroyCalls(stub func(lager.Logger, string) error)
- func (fake *FakeInstanceChainCreator) DestroyReturns(result1 error)
- func (fake *FakeInstanceChainCreator) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakeInstanceChainCreator) Invocations() map[string][][]interface{}
- type FakeNetnsExecer
- func (fake *FakeNetnsExecer) Exec(arg1 *os.File, arg2 func() error) error
- func (fake *FakeNetnsExecer) ExecArgsForCall(i int) (*os.File, func() error)
- func (fake *FakeNetnsExecer) ExecCallCount() int
- func (fake *FakeNetnsExecer) ExecCalls(stub func(*os.File, func() error) error)
- func (fake *FakeNetnsExecer) ExecReturns(result1 error)
- func (fake *FakeNetnsExecer) ExecReturnsOnCall(i int, result1 error)
- func (fake *FakeNetnsExecer) Invocations() map[string][][]interface{}
- type FakeNetworkDepot
- func (fake *FakeNetworkDepot) Destroy(arg1 lager.Logger, arg2 string) error
- func (fake *FakeNetworkDepot) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeNetworkDepot) DestroyCallCount() int
- func (fake *FakeNetworkDepot) DestroyCalls(stub func(lager.Logger, string) error)
- func (fake *FakeNetworkDepot) DestroyReturns(result1 error)
- func (fake *FakeNetworkDepot) DestroyReturnsOnCall(i int, result1 error)
- func (fake *FakeNetworkDepot) Invocations() map[string][][]interface{}
- func (fake *FakeNetworkDepot) SetupBindMounts(arg1 lager.Logger, arg2 string, arg3 bool, arg4 string) ([]garden.BindMount, error)
- func (fake *FakeNetworkDepot) SetupBindMountsArgsForCall(i int) (lager.Logger, string, bool, string)
- func (fake *FakeNetworkDepot) SetupBindMountsCallCount() int
- func (fake *FakeNetworkDepot) SetupBindMountsCalls(stub func(lager.Logger, string, bool, string) ([]garden.BindMount, error))
- func (fake *FakeNetworkDepot) SetupBindMountsReturns(result1 []garden.BindMount, result2 error)
- func (fake *FakeNetworkDepot) SetupBindMountsReturnsOnCall(i int, result1 []garden.BindMount, result2 error)
- type FakePortForwarder
- func (fake *FakePortForwarder) Forward(arg1 kawasaki.PortForwarderSpec) error
- func (fake *FakePortForwarder) ForwardArgsForCall(i int) kawasaki.PortForwarderSpec
- func (fake *FakePortForwarder) ForwardCallCount() int
- func (fake *FakePortForwarder) ForwardCalls(stub func(kawasaki.PortForwarderSpec) error)
- func (fake *FakePortForwarder) ForwardReturns(result1 error)
- func (fake *FakePortForwarder) ForwardReturnsOnCall(i int, result1 error)
- func (fake *FakePortForwarder) Invocations() map[string][][]interface{}
- type FakePortPool
- func (fake *FakePortPool) Acquire() (uint32, error)
- func (fake *FakePortPool) AcquireCallCount() int
- func (fake *FakePortPool) AcquireCalls(stub func() (uint32, error))
- func (fake *FakePortPool) AcquireReturns(result1 uint32, result2 error)
- func (fake *FakePortPool) AcquireReturnsOnCall(i int, result1 uint32, result2 error)
- func (fake *FakePortPool) Invocations() map[string][][]interface{}
- func (fake *FakePortPool) Release(arg1 uint32)
- func (fake *FakePortPool) ReleaseArgsForCall(i int) uint32
- func (fake *FakePortPool) ReleaseCallCount() int
- func (fake *FakePortPool) ReleaseCalls(stub func(uint32))
- func (fake *FakePortPool) Remove(arg1 uint32) error
- func (fake *FakePortPool) RemoveArgsForCall(i int) uint32
- func (fake *FakePortPool) RemoveCallCount() int
- func (fake *FakePortPool) RemoveCalls(stub func(uint32) error)
- func (fake *FakePortPool) RemoveReturns(result1 error)
- func (fake *FakePortPool) RemoveReturnsOnCall(i int, result1 error)
- type FakeResolvCompiler
- func (fake *FakeResolvCompiler) Determine(arg1 string, arg2 net.IP, arg3 []net.IP, arg4 []net.IP, arg5 []net.IP, ...) []string
- func (fake *FakeResolvCompiler) DetermineArgsForCall(i int) (string, net.IP, []net.IP, []net.IP, []net.IP, []string)
- func (fake *FakeResolvCompiler) DetermineCallCount() int
- func (fake *FakeResolvCompiler) DetermineCalls(stub func(string, net.IP, []net.IP, []net.IP, []net.IP, []string) []string)
- func (fake *FakeResolvCompiler) DetermineReturns(result1 []string)
- func (fake *FakeResolvCompiler) DetermineReturnsOnCall(i int, result1 []string)
- func (fake *FakeResolvCompiler) Invocations() map[string][][]interface{}
- type FakeSpecParser
- func (fake *FakeSpecParser) Invocations() map[string][][]interface{}
- func (fake *FakeSpecParser) Parse(arg1 lager.Logger, arg2 string) (subnets.SubnetSelector, subnets.IPSelector, error)
- func (fake *FakeSpecParser) ParseArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeSpecParser) ParseCallCount() int
- func (fake *FakeSpecParser) ParseCalls(...)
- func (fake *FakeSpecParser) ParseReturns(result1 subnets.SubnetSelector, result2 subnets.IPSelector, result3 error)
- func (fake *FakeSpecParser) ParseReturnsOnCall(i int, result1 subnets.SubnetSelector, result2 subnets.IPSelector, ...)
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) CreateArgsForCall ¶
func (*FakeConfigCreator) CreateCallCount ¶
func (fake *FakeConfigCreator) CreateCallCount() int
func (*FakeConfigCreator) CreateCalls ¶
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
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) CompileArgsForCall ¶
func (*FakeHostFileCompiler) CompileCallCount ¶
func (fake *FakeHostFileCompiler) CompileCallCount() int
func (*FakeHostFileCompiler) CompileCalls ¶
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) CreateArgsForCall ¶
func (*FakeInstanceChainCreator) CreateCallCount ¶
func (fake *FakeInstanceChainCreator) CreateCallCount() int
func (*FakeInstanceChainCreator) CreateCalls ¶
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 (*FakeNetworkDepot) SetupBindMountsArgsForCall ¶
func (*FakeNetworkDepot) SetupBindMountsCallCount ¶
func (fake *FakeNetworkDepot) SetupBindMountsCallCount() int
func (*FakeNetworkDepot) SetupBindMountsCalls ¶
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) DetermineArgsForCall ¶
func (*FakeResolvCompiler) DetermineCallCount ¶
func (fake *FakeResolvCompiler) DetermineCallCount() int
func (*FakeResolvCompiler) DetermineCalls ¶
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 (fake *FakeSpecParser) Parse(arg1 lager.Logger, arg2 string) (subnets.SubnetSelector, subnets.IPSelector, error)
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)
Source Files ¶
- fake_config_creator.go
- fake_config_store.go
- fake_configurer.go
- fake_container_configurer.go
- fake_dns_resolv_configurer.go
- fake_firewall_opener.go
- fake_host_configurer.go
- fake_host_file_compiler.go
- fake_idgenerator.go
- fake_instance_chain_creator.go
- fake_netns_execer.go
- fake_network_depot.go
- fake_port_forwarder.go
- fake_port_pool.go
- fake_resolv_compiler.go
- fake_spec_parser.go