Documentation ¶
Index ¶
- type ClientManager
- type ClientManager_Client_Call
- type ClientManager_Expecter
- type ClientManager_MustConnect_Call
- func (_c *ClientManager_MustConnect_Call) Return(_a0 rpc.ClientManager) *ClientManager_MustConnect_Call
- func (_c *ClientManager_MustConnect_Call) Run(run func()) *ClientManager_MustConnect_Call
- func (_c *ClientManager_MustConnect_Call) RunAndReturn(run func() rpc.ClientManager) *ClientManager_MustConnect_Call
- type ClientManager_Teardown_Call
- type ClientManager_connect_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientManager ¶
ClientManager is an autogenerated mock type for the ClientManager type
func NewClientManager ¶
func NewClientManager(t interface { mock.TestingT Cleanup(func()) }) *ClientManager
NewClientManager creates a new instance of ClientManager. 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 (*ClientManager) Client ¶
func (_m *ClientManager) Client() grpc.ClientConnInterface
Client provides a mock function with given fields:
func (*ClientManager) EXPECT ¶
func (_m *ClientManager) EXPECT() *ClientManager_Expecter
func (*ClientManager) MustConnect ¶
func (_m *ClientManager) MustConnect() rpc.ClientManager
MustConnect provides a mock function with given fields:
func (*ClientManager) Teardown ¶
func (_m *ClientManager) Teardown()
Teardown provides a mock function with given fields:
type ClientManager_Client_Call ¶
ClientManager_Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Client'
func (*ClientManager_Client_Call) Return ¶
func (_c *ClientManager_Client_Call) Return(_a0 grpc.ClientConnInterface) *ClientManager_Client_Call
func (*ClientManager_Client_Call) Run ¶
func (_c *ClientManager_Client_Call) Run(run func()) *ClientManager_Client_Call
func (*ClientManager_Client_Call) RunAndReturn ¶
func (_c *ClientManager_Client_Call) RunAndReturn(run func() grpc.ClientConnInterface) *ClientManager_Client_Call
type ClientManager_Expecter ¶
type ClientManager_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientManager_Expecter) Client ¶
func (_e *ClientManager_Expecter) Client() *ClientManager_Client_Call
Client is a helper method to define mock.On call
func (*ClientManager_Expecter) MustConnect ¶
func (_e *ClientManager_Expecter) MustConnect() *ClientManager_MustConnect_Call
MustConnect is a helper method to define mock.On call
func (*ClientManager_Expecter) Teardown ¶
func (_e *ClientManager_Expecter) Teardown() *ClientManager_Teardown_Call
Teardown is a helper method to define mock.On call
type ClientManager_MustConnect_Call ¶
ClientManager_MustConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustConnect'
func (*ClientManager_MustConnect_Call) Return ¶
func (_c *ClientManager_MustConnect_Call) Return(_a0 rpc.ClientManager) *ClientManager_MustConnect_Call
func (*ClientManager_MustConnect_Call) Run ¶
func (_c *ClientManager_MustConnect_Call) Run(run func()) *ClientManager_MustConnect_Call
func (*ClientManager_MustConnect_Call) RunAndReturn ¶
func (_c *ClientManager_MustConnect_Call) RunAndReturn(run func() rpc.ClientManager) *ClientManager_MustConnect_Call
type ClientManager_Teardown_Call ¶
ClientManager_Teardown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Teardown'
func (*ClientManager_Teardown_Call) Return ¶
func (_c *ClientManager_Teardown_Call) Return() *ClientManager_Teardown_Call
func (*ClientManager_Teardown_Call) Run ¶
func (_c *ClientManager_Teardown_Call) Run(run func()) *ClientManager_Teardown_Call
func (*ClientManager_Teardown_Call) RunAndReturn ¶
func (_c *ClientManager_Teardown_Call) RunAndReturn(run func()) *ClientManager_Teardown_Call
type ClientManager_connect_Call ¶
ClientManager_connect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'connect'
func (*ClientManager_connect_Call) Return ¶
func (_c *ClientManager_connect_Call) Return(_a0 error) *ClientManager_connect_Call
func (*ClientManager_connect_Call) Run ¶
func (_c *ClientManager_connect_Call) Run(run func()) *ClientManager_connect_Call
func (*ClientManager_connect_Call) RunAndReturn ¶
func (_c *ClientManager_connect_Call) RunAndReturn(run func() error) *ClientManager_connect_Call