Documentation ¶
Index ¶
- type RemotingServiceClient
- func (_m *RemotingServiceClient) EXPECT() *RemotingServiceClient_Expecter
- func (_m *RemotingServiceClient) RemoteAsk(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteAskRequest]) (*connect.Response[internalpb.RemoteAskResponse], error)
- func (_m *RemotingServiceClient) RemoteLookup(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteLookupRequest]) (*connect.Response[internalpb.RemoteLookupResponse], error)
- func (_m *RemotingServiceClient) RemoteTell(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteTellRequest]) (*connect.Response[internalpb.RemoteTellResponse], error)
- type RemotingServiceClient_Expecter
- func (_e *RemotingServiceClient_Expecter) RemoteAsk(_a0 interface{}, _a1 interface{}) *RemotingServiceClient_RemoteAsk_Call
- func (_e *RemotingServiceClient_Expecter) RemoteLookup(_a0 interface{}, _a1 interface{}) *RemotingServiceClient_RemoteLookup_Call
- func (_e *RemotingServiceClient_Expecter) RemoteTell(_a0 interface{}, _a1 interface{}) *RemotingServiceClient_RemoteTell_Call
- type RemotingServiceClient_RemoteAsk_Call
- func (_c *RemotingServiceClient_RemoteAsk_Call) Return(_a0 *connect.Response[internalpb.RemoteAskResponse], _a1 error) *RemotingServiceClient_RemoteAsk_Call
- func (_c *RemotingServiceClient_RemoteAsk_Call) Run(...) *RemotingServiceClient_RemoteAsk_Call
- func (_c *RemotingServiceClient_RemoteAsk_Call) RunAndReturn(...) *RemotingServiceClient_RemoteAsk_Call
- type RemotingServiceClient_RemoteLookup_Call
- func (_c *RemotingServiceClient_RemoteLookup_Call) Return(_a0 *connect.Response[internalpb.RemoteLookupResponse], _a1 error) *RemotingServiceClient_RemoteLookup_Call
- func (_c *RemotingServiceClient_RemoteLookup_Call) Run(...) *RemotingServiceClient_RemoteLookup_Call
- func (_c *RemotingServiceClient_RemoteLookup_Call) RunAndReturn(...) *RemotingServiceClient_RemoteLookup_Call
- type RemotingServiceClient_RemoteTell_Call
- func (_c *RemotingServiceClient_RemoteTell_Call) Return(_a0 *connect.Response[internalpb.RemoteTellResponse], _a1 error) *RemotingServiceClient_RemoteTell_Call
- func (_c *RemotingServiceClient_RemoteTell_Call) Run(...) *RemotingServiceClient_RemoteTell_Call
- func (_c *RemotingServiceClient_RemoteTell_Call) RunAndReturn(...) *RemotingServiceClient_RemoteTell_Call
- type RemotingServiceHandler
- func (_m *RemotingServiceHandler) EXPECT() *RemotingServiceHandler_Expecter
- func (_m *RemotingServiceHandler) RemoteAsk(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteAskRequest]) (*connect.Response[internalpb.RemoteAskResponse], error)
- func (_m *RemotingServiceHandler) RemoteLookup(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteLookupRequest]) (*connect.Response[internalpb.RemoteLookupResponse], error)
- func (_m *RemotingServiceHandler) RemoteTell(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteTellRequest]) (*connect.Response[internalpb.RemoteTellResponse], error)
- type RemotingServiceHandler_Expecter
- func (_e *RemotingServiceHandler_Expecter) RemoteAsk(_a0 interface{}, _a1 interface{}) *RemotingServiceHandler_RemoteAsk_Call
- func (_e *RemotingServiceHandler_Expecter) RemoteLookup(_a0 interface{}, _a1 interface{}) *RemotingServiceHandler_RemoteLookup_Call
- func (_e *RemotingServiceHandler_Expecter) RemoteTell(_a0 interface{}, _a1 interface{}) *RemotingServiceHandler_RemoteTell_Call
- type RemotingServiceHandler_RemoteAsk_Call
- func (_c *RemotingServiceHandler_RemoteAsk_Call) Return(_a0 *connect.Response[internalpb.RemoteAskResponse], _a1 error) *RemotingServiceHandler_RemoteAsk_Call
- func (_c *RemotingServiceHandler_RemoteAsk_Call) Run(...) *RemotingServiceHandler_RemoteAsk_Call
- func (_c *RemotingServiceHandler_RemoteAsk_Call) RunAndReturn(...) *RemotingServiceHandler_RemoteAsk_Call
- type RemotingServiceHandler_RemoteLookup_Call
- func (_c *RemotingServiceHandler_RemoteLookup_Call) Return(_a0 *connect.Response[internalpb.RemoteLookupResponse], _a1 error) *RemotingServiceHandler_RemoteLookup_Call
- func (_c *RemotingServiceHandler_RemoteLookup_Call) Run(...) *RemotingServiceHandler_RemoteLookup_Call
- func (_c *RemotingServiceHandler_RemoteLookup_Call) RunAndReturn(...) *RemotingServiceHandler_RemoteLookup_Call
- type RemotingServiceHandler_RemoteTell_Call
- func (_c *RemotingServiceHandler_RemoteTell_Call) Return(_a0 *connect.Response[internalpb.RemoteTellResponse], _a1 error) *RemotingServiceHandler_RemoteTell_Call
- func (_c *RemotingServiceHandler_RemoteTell_Call) Run(...) *RemotingServiceHandler_RemoteTell_Call
- func (_c *RemotingServiceHandler_RemoteTell_Call) RunAndReturn(...) *RemotingServiceHandler_RemoteTell_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemotingServiceClient ¶ added in v0.8.1
RemotingServiceClient is an autogenerated mock type for the RemotingServiceClient type
func NewRemotingServiceClient ¶ added in v0.8.1
func NewRemotingServiceClient(t interface { mock.TestingT Cleanup(func()) }) *RemotingServiceClient
NewRemotingServiceClient creates a new instance of RemotingServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RemotingServiceClient) EXPECT ¶ added in v0.8.1
func (_m *RemotingServiceClient) EXPECT() *RemotingServiceClient_Expecter
func (*RemotingServiceClient) RemoteAsk ¶ added in v0.8.1
func (_m *RemotingServiceClient) RemoteAsk(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteAskRequest]) (*connect.Response[internalpb.RemoteAskResponse], error)
RemoteAsk provides a mock function with given fields: _a0, _a1
func (*RemotingServiceClient) RemoteLookup ¶ added in v0.8.1
func (_m *RemotingServiceClient) RemoteLookup(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteLookupRequest]) (*connect.Response[internalpb.RemoteLookupResponse], error)
RemoteLookup provides a mock function with given fields: _a0, _a1
func (*RemotingServiceClient) RemoteTell ¶ added in v0.8.1
func (_m *RemotingServiceClient) RemoteTell(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteTellRequest]) (*connect.Response[internalpb.RemoteTellResponse], error)
RemoteTell provides a mock function with given fields: _a0, _a1
type RemotingServiceClient_Expecter ¶ added in v0.8.1
type RemotingServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*RemotingServiceClient_Expecter) RemoteAsk ¶ added in v0.8.1
func (_e *RemotingServiceClient_Expecter) RemoteAsk(_a0 interface{}, _a1 interface{}) *RemotingServiceClient_RemoteAsk_Call
RemoteAsk is a helper method to define mock.On call
- _a0 context.Context
- _a1 *connect.Request[internalpb.RemoteAskRequest]
func (*RemotingServiceClient_Expecter) RemoteLookup ¶ added in v0.8.1
func (_e *RemotingServiceClient_Expecter) RemoteLookup(_a0 interface{}, _a1 interface{}) *RemotingServiceClient_RemoteLookup_Call
RemoteLookup is a helper method to define mock.On call
- _a0 context.Context
- _a1 *connect.Request[internalpb.RemoteLookupRequest]
func (*RemotingServiceClient_Expecter) RemoteTell ¶ added in v0.8.1
func (_e *RemotingServiceClient_Expecter) RemoteTell(_a0 interface{}, _a1 interface{}) *RemotingServiceClient_RemoteTell_Call
RemoteTell is a helper method to define mock.On call
- _a0 context.Context
- _a1 *connect.Request[internalpb.RemoteTellRequest]
type RemotingServiceClient_RemoteAsk_Call ¶ added in v0.8.1
RemotingServiceClient_RemoteAsk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteAsk'
func (*RemotingServiceClient_RemoteAsk_Call) Return ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteAsk_Call) Return(_a0 *connect.Response[internalpb.RemoteAskResponse], _a1 error) *RemotingServiceClient_RemoteAsk_Call
func (*RemotingServiceClient_RemoteAsk_Call) Run ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteAsk_Call) Run(run func(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteAskRequest])) *RemotingServiceClient_RemoteAsk_Call
func (*RemotingServiceClient_RemoteAsk_Call) RunAndReturn ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteAsk_Call) RunAndReturn(run func(context.Context, *connect.Request[internalpb.RemoteAskRequest]) (*connect.Response[internalpb.RemoteAskResponse], error)) *RemotingServiceClient_RemoteAsk_Call
type RemotingServiceClient_RemoteLookup_Call ¶ added in v0.8.1
RemotingServiceClient_RemoteLookup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteLookup'
func (*RemotingServiceClient_RemoteLookup_Call) Return ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteLookup_Call) Return(_a0 *connect.Response[internalpb.RemoteLookupResponse], _a1 error) *RemotingServiceClient_RemoteLookup_Call
func (*RemotingServiceClient_RemoteLookup_Call) Run ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteLookup_Call) Run(run func(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteLookupRequest])) *RemotingServiceClient_RemoteLookup_Call
func (*RemotingServiceClient_RemoteLookup_Call) RunAndReturn ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteLookup_Call) RunAndReturn(run func(context.Context, *connect.Request[internalpb.RemoteLookupRequest]) (*connect.Response[internalpb.RemoteLookupResponse], error)) *RemotingServiceClient_RemoteLookup_Call
type RemotingServiceClient_RemoteTell_Call ¶ added in v0.8.1
RemotingServiceClient_RemoteTell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteTell'
func (*RemotingServiceClient_RemoteTell_Call) Return ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteTell_Call) Return(_a0 *connect.Response[internalpb.RemoteTellResponse], _a1 error) *RemotingServiceClient_RemoteTell_Call
func (*RemotingServiceClient_RemoteTell_Call) Run ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteTell_Call) Run(run func(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteTellRequest])) *RemotingServiceClient_RemoteTell_Call
func (*RemotingServiceClient_RemoteTell_Call) RunAndReturn ¶ added in v0.8.1
func (_c *RemotingServiceClient_RemoteTell_Call) RunAndReturn(run func(context.Context, *connect.Request[internalpb.RemoteTellRequest]) (*connect.Response[internalpb.RemoteTellResponse], error)) *RemotingServiceClient_RemoteTell_Call
type RemotingServiceHandler ¶ added in v0.8.1
RemotingServiceHandler is an autogenerated mock type for the RemotingServiceHandler type
func NewRemotingServiceHandler ¶ added in v0.8.1
func NewRemotingServiceHandler(t interface { mock.TestingT Cleanup(func()) }) *RemotingServiceHandler
NewRemotingServiceHandler creates a new instance of RemotingServiceHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RemotingServiceHandler) EXPECT ¶ added in v0.8.1
func (_m *RemotingServiceHandler) EXPECT() *RemotingServiceHandler_Expecter
func (*RemotingServiceHandler) RemoteAsk ¶ added in v0.8.1
func (_m *RemotingServiceHandler) RemoteAsk(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteAskRequest]) (*connect.Response[internalpb.RemoteAskResponse], error)
RemoteAsk provides a mock function with given fields: _a0, _a1
func (*RemotingServiceHandler) RemoteLookup ¶ added in v0.8.1
func (_m *RemotingServiceHandler) RemoteLookup(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteLookupRequest]) (*connect.Response[internalpb.RemoteLookupResponse], error)
RemoteLookup provides a mock function with given fields: _a0, _a1
func (*RemotingServiceHandler) RemoteTell ¶ added in v0.8.1
func (_m *RemotingServiceHandler) RemoteTell(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteTellRequest]) (*connect.Response[internalpb.RemoteTellResponse], error)
RemoteTell provides a mock function with given fields: _a0, _a1
type RemotingServiceHandler_Expecter ¶ added in v0.8.1
type RemotingServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*RemotingServiceHandler_Expecter) RemoteAsk ¶ added in v0.8.1
func (_e *RemotingServiceHandler_Expecter) RemoteAsk(_a0 interface{}, _a1 interface{}) *RemotingServiceHandler_RemoteAsk_Call
RemoteAsk is a helper method to define mock.On call
- _a0 context.Context
- _a1 *connect.Request[internalpb.RemoteAskRequest]
func (*RemotingServiceHandler_Expecter) RemoteLookup ¶ added in v0.8.1
func (_e *RemotingServiceHandler_Expecter) RemoteLookup(_a0 interface{}, _a1 interface{}) *RemotingServiceHandler_RemoteLookup_Call
RemoteLookup is a helper method to define mock.On call
- _a0 context.Context
- _a1 *connect.Request[internalpb.RemoteLookupRequest]
func (*RemotingServiceHandler_Expecter) RemoteTell ¶ added in v0.8.1
func (_e *RemotingServiceHandler_Expecter) RemoteTell(_a0 interface{}, _a1 interface{}) *RemotingServiceHandler_RemoteTell_Call
RemoteTell is a helper method to define mock.On call
- _a0 context.Context
- _a1 *connect.Request[internalpb.RemoteTellRequest]
type RemotingServiceHandler_RemoteAsk_Call ¶ added in v0.8.1
RemotingServiceHandler_RemoteAsk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteAsk'
func (*RemotingServiceHandler_RemoteAsk_Call) Return ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteAsk_Call) Return(_a0 *connect.Response[internalpb.RemoteAskResponse], _a1 error) *RemotingServiceHandler_RemoteAsk_Call
func (*RemotingServiceHandler_RemoteAsk_Call) Run ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteAsk_Call) Run(run func(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteAskRequest])) *RemotingServiceHandler_RemoteAsk_Call
func (*RemotingServiceHandler_RemoteAsk_Call) RunAndReturn ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteAsk_Call) RunAndReturn(run func(context.Context, *connect.Request[internalpb.RemoteAskRequest]) (*connect.Response[internalpb.RemoteAskResponse], error)) *RemotingServiceHandler_RemoteAsk_Call
type RemotingServiceHandler_RemoteLookup_Call ¶ added in v0.8.1
RemotingServiceHandler_RemoteLookup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteLookup'
func (*RemotingServiceHandler_RemoteLookup_Call) Return ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteLookup_Call) Return(_a0 *connect.Response[internalpb.RemoteLookupResponse], _a1 error) *RemotingServiceHandler_RemoteLookup_Call
func (*RemotingServiceHandler_RemoteLookup_Call) Run ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteLookup_Call) Run(run func(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteLookupRequest])) *RemotingServiceHandler_RemoteLookup_Call
func (*RemotingServiceHandler_RemoteLookup_Call) RunAndReturn ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteLookup_Call) RunAndReturn(run func(context.Context, *connect.Request[internalpb.RemoteLookupRequest]) (*connect.Response[internalpb.RemoteLookupResponse], error)) *RemotingServiceHandler_RemoteLookup_Call
type RemotingServiceHandler_RemoteTell_Call ¶ added in v0.8.1
RemotingServiceHandler_RemoteTell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoteTell'
func (*RemotingServiceHandler_RemoteTell_Call) Return ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteTell_Call) Return(_a0 *connect.Response[internalpb.RemoteTellResponse], _a1 error) *RemotingServiceHandler_RemoteTell_Call
func (*RemotingServiceHandler_RemoteTell_Call) Run ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteTell_Call) Run(run func(_a0 context.Context, _a1 *connect.Request[internalpb.RemoteTellRequest])) *RemotingServiceHandler_RemoteTell_Call
func (*RemotingServiceHandler_RemoteTell_Call) RunAndReturn ¶ added in v0.8.1
func (_c *RemotingServiceHandler_RemoteTell_Call) RunAndReturn(run func(context.Context, *connect.Request[internalpb.RemoteTellRequest]) (*connect.Response[internalpb.RemoteTellResponse], error)) *RemotingServiceHandler_RemoteTell_Call