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.
Index ¶
- type FakeDaemon
- func (fake *FakeDaemon) Invocations() map[string][][]interface{}
- func (fake *FakeDaemon) Start(arg1 *util.AsyncErr) error
- func (fake *FakeDaemon) StartArgsForCall(i int) *util.AsyncErr
- func (fake *FakeDaemon) StartCallCount() int
- func (fake *FakeDaemon) StartCalls(stub func(*util.AsyncErr) error)
- func (fake *FakeDaemon) StartReturns(result1 error)
- func (fake *FakeDaemon) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeDaemon) Stop()
- func (fake *FakeDaemon) StopCallCount() int
- func (fake *FakeDaemon) StopCalls(stub func())
- type FakeTunnel
- func (fake *FakeTunnel) Close() error
- func (fake *FakeTunnel) CloseCallCount() int
- func (fake *FakeTunnel) CloseCalls(stub func() error)
- func (fake *FakeTunnel) CloseReturns(result1 error)
- func (fake *FakeTunnel) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeTunnel) Invocations() map[string][][]interface{}
- func (fake *FakeTunnel) SetListener(arg1 model.TunnelListener)
- func (fake *FakeTunnel) SetListenerArgsForCall(i int) model.TunnelListener
- func (fake *FakeTunnel) SetListenerCallCount() int
- func (fake *FakeTunnel) SetListenerCalls(stub func(model.TunnelListener))
- func (fake *FakeTunnel) Stats() model.TunnelStats
- func (fake *FakeTunnel) StatsCallCount() int
- func (fake *FakeTunnel) StatsCalls(stub func() model.TunnelStats)
- func (fake *FakeTunnel) StatsReturns(result1 model.TunnelStats)
- func (fake *FakeTunnel) StatsReturnsOnCall(i int, result1 model.TunnelStats)
- func (fake *FakeTunnel) Transfer(arg1 context.Context, arg2 string) (string, error)
- func (fake *FakeTunnel) TransferArgsForCall(i int) (context.Context, string)
- func (fake *FakeTunnel) TransferCallCount() int
- func (fake *FakeTunnel) TransferCalls(stub func(context.Context, string) (string, error))
- func (fake *FakeTunnel) TransferReturns(result1 string, result2 error)
- func (fake *FakeTunnel) TransferReturnsOnCall(i int, result1 string, result2 error)
- type FakeTunnelListener
- func (fake *FakeTunnelListener) Invocations() map[string][][]interface{}
- func (fake *FakeTunnelListener) RemoveTunnel(arg1 model.User, arg2 model.Tunnel)
- func (fake *FakeTunnelListener) RemoveTunnelArgsForCall(i int) (model.User, model.Tunnel)
- func (fake *FakeTunnelListener) RemoveTunnelCallCount() int
- func (fake *FakeTunnelListener) RemoveTunnelCalls(stub func(model.User, model.Tunnel))
- type FakeUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDaemon ¶
type FakeDaemon struct { StartStub func(*util.AsyncErr) error StopStub func() // contains filtered or unexported fields }
func (*FakeDaemon) Invocations ¶
func (fake *FakeDaemon) Invocations() map[string][][]interface{}
func (*FakeDaemon) StartArgsForCall ¶
func (fake *FakeDaemon) StartArgsForCall(i int) *util.AsyncErr
func (*FakeDaemon) StartCallCount ¶
func (fake *FakeDaemon) StartCallCount() int
func (*FakeDaemon) StartCalls ¶
func (fake *FakeDaemon) StartCalls(stub func(*util.AsyncErr) error)
func (*FakeDaemon) StartReturns ¶
func (fake *FakeDaemon) StartReturns(result1 error)
func (*FakeDaemon) StartReturnsOnCall ¶
func (fake *FakeDaemon) StartReturnsOnCall(i int, result1 error)
func (*FakeDaemon) Stop ¶
func (fake *FakeDaemon) Stop()
func (*FakeDaemon) StopCallCount ¶
func (fake *FakeDaemon) StopCallCount() int
func (*FakeDaemon) StopCalls ¶
func (fake *FakeDaemon) StopCalls(stub func())
type FakeTunnel ¶
type FakeTunnel struct { CloseStub func() error SetListenerStub func(model.TunnelListener) StatsStub func() model.TunnelStats TransferStub func(context.Context, string) (string, error) // contains filtered or unexported fields }
func (*FakeTunnel) Close ¶
func (fake *FakeTunnel) Close() error
func (*FakeTunnel) CloseCallCount ¶
func (fake *FakeTunnel) CloseCallCount() int
func (*FakeTunnel) CloseCalls ¶
func (fake *FakeTunnel) CloseCalls(stub func() error)
func (*FakeTunnel) CloseReturns ¶
func (fake *FakeTunnel) CloseReturns(result1 error)
func (*FakeTunnel) CloseReturnsOnCall ¶
func (fake *FakeTunnel) CloseReturnsOnCall(i int, result1 error)
func (*FakeTunnel) Invocations ¶
func (fake *FakeTunnel) Invocations() map[string][][]interface{}
func (*FakeTunnel) SetListener ¶
func (fake *FakeTunnel) SetListener(arg1 model.TunnelListener)
func (*FakeTunnel) SetListenerArgsForCall ¶
func (fake *FakeTunnel) SetListenerArgsForCall(i int) model.TunnelListener
func (*FakeTunnel) SetListenerCallCount ¶
func (fake *FakeTunnel) SetListenerCallCount() int
func (*FakeTunnel) SetListenerCalls ¶
func (fake *FakeTunnel) SetListenerCalls(stub func(model.TunnelListener))
func (*FakeTunnel) Stats ¶
func (fake *FakeTunnel) Stats() model.TunnelStats
func (*FakeTunnel) StatsCallCount ¶
func (fake *FakeTunnel) StatsCallCount() int
func (*FakeTunnel) StatsCalls ¶
func (fake *FakeTunnel) StatsCalls(stub func() model.TunnelStats)
func (*FakeTunnel) StatsReturns ¶
func (fake *FakeTunnel) StatsReturns(result1 model.TunnelStats)
func (*FakeTunnel) StatsReturnsOnCall ¶
func (fake *FakeTunnel) StatsReturnsOnCall(i int, result1 model.TunnelStats)
func (*FakeTunnel) TransferArgsForCall ¶
func (fake *FakeTunnel) TransferArgsForCall(i int) (context.Context, string)
func (*FakeTunnel) TransferCallCount ¶
func (fake *FakeTunnel) TransferCallCount() int
func (*FakeTunnel) TransferCalls ¶
func (*FakeTunnel) TransferReturns ¶
func (fake *FakeTunnel) TransferReturns(result1 string, result2 error)
func (*FakeTunnel) TransferReturnsOnCall ¶
func (fake *FakeTunnel) TransferReturnsOnCall(i int, result1 string, result2 error)
type FakeTunnelListener ¶
type FakeTunnelListener struct { RemoveTunnelStub func(model.User, model.Tunnel) // contains filtered or unexported fields }
func (*FakeTunnelListener) Invocations ¶
func (fake *FakeTunnelListener) Invocations() map[string][][]interface{}
func (*FakeTunnelListener) RemoveTunnel ¶
func (fake *FakeTunnelListener) RemoveTunnel(arg1 model.User, arg2 model.Tunnel)
func (*FakeTunnelListener) RemoveTunnelArgsForCall ¶
func (*FakeTunnelListener) RemoveTunnelCallCount ¶
func (fake *FakeTunnelListener) RemoveTunnelCallCount() int
func (*FakeTunnelListener) RemoveTunnelCalls ¶
func (fake *FakeTunnelListener) RemoveTunnelCalls(stub func(model.User, model.Tunnel))
type FakeUser ¶
type FakeUser struct { IdStub func() string // contains filtered or unexported fields }
func (*FakeUser) IdCallCount ¶
func (*FakeUser) IdReturnsOnCall ¶
func (*FakeUser) Invocations ¶
Click to show internal directories.
Click to hide internal directories.