mocks

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BastionClient

type BastionClient struct {
	mock.Mock
}

BastionClient is an autogenerated mock type for the BastionClient type

func NewBastionClient

func NewBastionClient(t mockConstructorTestingTNewBastionClient) *BastionClient

NewBastionClient creates a new instance of BastionClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BastionClient) EXPECT

func (_m *BastionClient) EXPECT() *BastionClient_Expecter

func (*BastionClient) SendRequest

SendRequest provides a mock function with given fields: ctx, request

type BastionClient_Expecter

type BastionClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*BastionClient_Expecter) SendRequest

func (_e *BastionClient_Expecter) SendRequest(ctx interface{}, request interface{}) *BastionClient_SendRequest_Call

SendRequest is a helper method to define mock.On call

  • ctx context.Context
  • request *funcie.MessageBase[json.RawMessage]

type BastionClient_SendRequest_Call

type BastionClient_SendRequest_Call struct {
	*mock.Call
}

BastionClient_SendRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendRequest'

func (*BastionClient_SendRequest_Call) Return

func (*BastionClient_SendRequest_Call) Run

type BastionReceiver

type BastionReceiver struct {
	mock.Mock
}

BastionReceiver is an autogenerated mock type for the BastionReceiver type

func NewBastionReceiver

func NewBastionReceiver(t mockConstructorTestingTNewBastionReceiver) *BastionReceiver

NewBastionReceiver creates a new instance of BastionReceiver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BastionReceiver) EXPECT

func (*BastionReceiver) Start

func (_m *BastionReceiver) Start()

Start provides a mock function with given fields:

func (*BastionReceiver) Stop

func (_m *BastionReceiver) Stop()

Stop provides a mock function with given fields:

type BastionReceiver_Expecter

type BastionReceiver_Expecter struct {
	// contains filtered or unexported fields
}

func (*BastionReceiver_Expecter) Start

Start is a helper method to define mock.On call

func (*BastionReceiver_Expecter) Stop

Stop is a helper method to define mock.On call

type BastionReceiver_Start_Call

type BastionReceiver_Start_Call struct {
	*mock.Call
}

BastionReceiver_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*BastionReceiver_Start_Call) Return

func (*BastionReceiver_Start_Call) Run

func (*BastionReceiver_Start_Call) RunAndReturn

func (_c *BastionReceiver_Start_Call) RunAndReturn(run func()) *BastionReceiver_Start_Call

type BastionReceiver_Stop_Call

type BastionReceiver_Stop_Call struct {
	*mock.Call
}

BastionReceiver_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*BastionReceiver_Stop_Call) Return

func (*BastionReceiver_Stop_Call) Run

func (*BastionReceiver_Stop_Call) RunAndReturn

func (_c *BastionReceiver_Stop_Call) RunAndReturn(run func()) *BastionReceiver_Stop_Call

type FunctionProxy

type FunctionProxy struct {
	mock.Mock
}

FunctionProxy is an autogenerated mock type for the FunctionProxy type

func NewFunctionProxy

func NewFunctionProxy(t mockConstructorTestingTNewFunctionProxy) *FunctionProxy

NewFunctionProxy creates a new instance of FunctionProxy. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*FunctionProxy) EXPECT

func (_m *FunctionProxy) EXPECT() *FunctionProxy_Expecter

func (*FunctionProxy) Start

func (_m *FunctionProxy) Start()

Start provides a mock function with given fields:

type FunctionProxy_Expecter

type FunctionProxy_Expecter struct {
	// contains filtered or unexported fields
}

func (*FunctionProxy_Expecter) Start

Start is a helper method to define mock.On call

type FunctionProxy_Start_Call

type FunctionProxy_Start_Call struct {
	*mock.Call
}

FunctionProxy_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*FunctionProxy_Start_Call) Return

func (*FunctionProxy_Start_Call) Run

func (*FunctionProxy_Start_Call) RunAndReturn

func (_c *FunctionProxy_Start_Call) RunAndReturn(run func()) *FunctionProxy_Start_Call

Jump to

Keyboard shortcuts

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