fake

package
v1.0.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 4 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.

Index

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) Start

func (fake *FakeDaemon) Start(arg1 *util.AsyncErr) error

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) Transfer

func (fake *FakeTunnel) Transfer(arg1 context.Context, arg2 string) (string, error)

func (*FakeTunnel) TransferArgsForCall

func (fake *FakeTunnel) TransferArgsForCall(i int) (context.Context, string)

func (*FakeTunnel) TransferCallCount

func (fake *FakeTunnel) TransferCallCount() int

func (*FakeTunnel) TransferCalls

func (fake *FakeTunnel) TransferCalls(stub func(context.Context, string) (string, error))

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 (fake *FakeTunnelListener) RemoveTunnelArgsForCall(i int) (model.User, model.Tunnel)

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) Id

func (fake *FakeUser) Id() string

func (*FakeUser) IdCallCount

func (fake *FakeUser) IdCallCount() int

func (*FakeUser) IdCalls

func (fake *FakeUser) IdCalls(stub func() string)

func (*FakeUser) IdReturns

func (fake *FakeUser) IdReturns(result1 string)

func (*FakeUser) IdReturnsOnCall

func (fake *FakeUser) IdReturnsOnCall(i int, result1 string)

func (*FakeUser) Invocations

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

Jump to

Keyboard shortcuts

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