Documentation ¶
Index ¶
- type BastionClient
- type BastionClient_Expecter
- type BastionClient_SendRequest_Call
- func (_c *BastionClient_SendRequest_Call) Return(_a0 *funcie.ResponseBase[json.RawMessage], _a1 error) *BastionClient_SendRequest_Call
- func (_c *BastionClient_SendRequest_Call) Run(run func(ctx context.Context, request *funcie.MessageBase[json.RawMessage])) *BastionClient_SendRequest_Call
- func (_c *BastionClient_SendRequest_Call) RunAndReturn(...) *BastionClient_SendRequest_Call
- type BastionReceiver
- type BastionReceiver_Expecter
- type BastionReceiver_Start_Call
- type BastionReceiver_Stop_Call
- type FunctionProxy
- type FunctionProxy_Expecter
- type FunctionProxy_Start_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BastionClient ¶
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 ¶
func (_m *BastionClient) SendRequest(ctx context.Context, request *funcie.MessageBase[json.RawMessage]) (*funcie.ResponseBase[json.RawMessage], error)
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 ¶
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 (_c *BastionClient_SendRequest_Call) Return(_a0 *funcie.ResponseBase[json.RawMessage], _a1 error) *BastionClient_SendRequest_Call
func (*BastionClient_SendRequest_Call) Run ¶
func (_c *BastionClient_SendRequest_Call) Run(run func(ctx context.Context, request *funcie.MessageBase[json.RawMessage])) *BastionClient_SendRequest_Call
func (*BastionClient_SendRequest_Call) RunAndReturn ¶
func (_c *BastionClient_SendRequest_Call) RunAndReturn(run func(context.Context, *funcie.MessageBase[json.RawMessage]) (*funcie.ResponseBase[json.RawMessage], error)) *BastionClient_SendRequest_Call
type BastionReceiver ¶
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 (_m *BastionReceiver) EXPECT() *BastionReceiver_Expecter
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 ¶
func (_e *BastionReceiver_Expecter) Start() *BastionReceiver_Start_Call
Start is a helper method to define mock.On call
func (*BastionReceiver_Expecter) Stop ¶
func (_e *BastionReceiver_Expecter) Stop() *BastionReceiver_Stop_Call
Stop is a helper method to define mock.On call
type BastionReceiver_Start_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 (_c *BastionReceiver_Start_Call) Return() *BastionReceiver_Start_Call
func (*BastionReceiver_Start_Call) Run ¶
func (_c *BastionReceiver_Start_Call) Run(run func()) *BastionReceiver_Start_Call
func (*BastionReceiver_Start_Call) RunAndReturn ¶
func (_c *BastionReceiver_Start_Call) RunAndReturn(run func()) *BastionReceiver_Start_Call
type BastionReceiver_Stop_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 (_c *BastionReceiver_Stop_Call) Return() *BastionReceiver_Stop_Call
func (*BastionReceiver_Stop_Call) Run ¶
func (_c *BastionReceiver_Stop_Call) Run(run func()) *BastionReceiver_Stop_Call
func (*BastionReceiver_Stop_Call) RunAndReturn ¶
func (_c *BastionReceiver_Stop_Call) RunAndReturn(run func()) *BastionReceiver_Stop_Call
type FunctionProxy ¶
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 ¶
func (_e *FunctionProxy_Expecter) Start() *FunctionProxy_Start_Call
Start is a helper method to define mock.On call
type FunctionProxy_Start_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 (_c *FunctionProxy_Start_Call) Return() *FunctionProxy_Start_Call
func (*FunctionProxy_Start_Call) Run ¶
func (_c *FunctionProxy_Start_Call) Run(run func()) *FunctionProxy_Start_Call
func (*FunctionProxy_Start_Call) RunAndReturn ¶
func (_c *FunctionProxy_Start_Call) RunAndReturn(run func()) *FunctionProxy_Start_Call