Documentation ¶
Overview ¶
Package mock_grpc is a generated GoMock package.
Package mock_grpc is a generated GoMock package.
Package mock_grpc is a generated GoMock package.
Index ¶
- type MockClientConnInterface
- func (m *MockClientConnInterface) EXPECT() *MockClientConnInterfaceMockRecorder
- func (m *MockClientConnInterface) Invoke(arg0 context.Context, arg1 string, arg2, arg3 interface{}, ...) error
- func (m *MockClientConnInterface) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, ...) (grpc.ClientStream, error)
- type MockClientConnInterfaceMockRecorder
- type MockConnPool
- type MockConnPoolMockRecorder
- type MockMessage
- type MockMessageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientConnInterface ¶
type MockClientConnInterface struct {
// contains filtered or unexported fields
}
MockClientConnInterface is a mock of ClientConnInterface interface.
func NewMockClientConnInterface ¶
func NewMockClientConnInterface(ctrl *gomock.Controller) *MockClientConnInterface
NewMockClientConnInterface creates a new mock instance.
func (*MockClientConnInterface) EXPECT ¶
func (m *MockClientConnInterface) EXPECT() *MockClientConnInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientConnInterface) Invoke ¶
func (m *MockClientConnInterface) Invoke(arg0 context.Context, arg1 string, arg2, arg3 interface{}, arg4 ...grpc.CallOption) error
Invoke mocks base method.
func (*MockClientConnInterface) NewStream ¶
func (m *MockClientConnInterface) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, arg3 ...grpc.CallOption) (grpc.ClientStream, error)
NewStream mocks base method.
type MockClientConnInterfaceMockRecorder ¶
type MockClientConnInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientConnInterfaceMockRecorder is the mock recorder for MockClientConnInterface.
func (*MockClientConnInterfaceMockRecorder) Invoke ¶
func (mr *MockClientConnInterfaceMockRecorder) Invoke(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
Invoke indicates an expected call of Invoke.
func (*MockClientConnInterfaceMockRecorder) NewStream ¶
func (mr *MockClientConnInterfaceMockRecorder) NewStream(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
NewStream indicates an expected call of NewStream.
type MockConnPool ¶
type MockConnPool struct {
// contains filtered or unexported fields
}
MockConnPool is a mock of ConnPool interface.
func NewMockConnPool ¶
func NewMockConnPool(ctrl *gomock.Controller) *MockConnPool
NewMockConnPool creates a new mock instance.
func (*MockConnPool) EXPECT ¶
func (m *MockConnPool) EXPECT() *MockConnPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnPool) Get ¶
func (m *MockConnPool) Get(arg0 string, arg1 time.Duration) (grpc.ClientConnInterface, error)
Get mocks base method.
type MockConnPoolMockRecorder ¶
type MockConnPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockConnPoolMockRecorder is the mock recorder for MockConnPool.
func (*MockConnPoolMockRecorder) Get ¶
func (mr *MockConnPoolMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockMessage ¶
type MockMessage struct {
// contains filtered or unexported fields
}
MockMessage is a mock of Message interface.
func NewMockMessage ¶
func NewMockMessage(ctrl *gomock.Controller) *MockMessage
NewMockMessage creates a new mock instance.
func (*MockMessage) EXPECT ¶
func (m *MockMessage) EXPECT() *MockMessageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessage) ProtoMessage ¶
func (m *MockMessage) ProtoMessage()
ProtoMessage mocks base method.
type MockMessageMockRecorder ¶
type MockMessageMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageMockRecorder is the mock recorder for MockMessage.
func (*MockMessageMockRecorder) ProtoMessage ¶
func (mr *MockMessageMockRecorder) ProtoMessage() *gomock.Call
ProtoMessage indicates an expected call of ProtoMessage.
func (*MockMessageMockRecorder) Reset ¶
func (mr *MockMessageMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockMessageMockRecorder) String ¶
func (mr *MockMessageMockRecorder) String() *gomock.Call
String indicates an expected call of String.