Documentation ¶
Overview ¶
Package mockgrpc is a generated GoMock package.
Package mockgrpc is a generated GoMock package.
Index ¶
- type MockGreeterClient
- type MockGreeterClientMockRecorder
- type MockHealthClient
- func (m *MockHealthClient) Check(arg0 context.Context, arg1 *grpc_health_v1.HealthCheckRequest, ...) (*grpc_health_v1.HealthCheckResponse, error)
- func (m *MockHealthClient) EXPECT() *MockHealthClientMockRecorder
- func (m *MockHealthClient) Watch(arg0 context.Context, arg1 *grpc_health_v1.HealthCheckRequest, ...) (grpc_health_v1.Health_WatchClient, error)
- type MockHealthClientMockRecorder
- type RPCMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGreeterClient ¶
type MockGreeterClient struct {
// contains filtered or unexported fields
}
MockGreeterClient is a mock of GreeterClient interface
func NewMockGreeterClient ¶
func NewMockGreeterClient(ctrl *gomock.Controller) *MockGreeterClient
NewMockGreeterClient creates a new mock instance
func (*MockGreeterClient) EXPECT ¶
func (m *MockGreeterClient) EXPECT() *MockGreeterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGreeterClient) SayHello ¶
func (m *MockGreeterClient) SayHello(arg0 context.Context, arg1 *helloworld.HelloRequest, arg2 ...grpc.CallOption) (*helloworld.HelloReply, error)
SayHello mocks base method
type MockGreeterClientMockRecorder ¶
type MockGreeterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGreeterClientMockRecorder is the mock recorder for MockGreeterClient
func (*MockGreeterClientMockRecorder) SayHello ¶
func (mr *MockGreeterClientMockRecorder) SayHello(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SayHello indicates an expected call of SayHello
type MockHealthClient ¶
type MockHealthClient struct {
// contains filtered or unexported fields
}
MockHealthClient is a mock of HealthClient interface
func NewMockHealthClient ¶
func NewMockHealthClient(ctrl *gomock.Controller) *MockHealthClient
NewMockHealthClient creates a new mock instance
func (*MockHealthClient) Check ¶
func (m *MockHealthClient) Check(arg0 context.Context, arg1 *grpc_health_v1.HealthCheckRequest, arg2 ...grpc.CallOption) (*grpc_health_v1.HealthCheckResponse, error)
Check mocks base method
func (*MockHealthClient) EXPECT ¶
func (m *MockHealthClient) EXPECT() *MockHealthClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHealthClient) Watch ¶ added in v1.5.0
func (m *MockHealthClient) Watch(arg0 context.Context, arg1 *grpc_health_v1.HealthCheckRequest, arg2 ...grpc.CallOption) (grpc_health_v1.Health_WatchClient, error)
Watch mocks base method
type MockHealthClientMockRecorder ¶
type MockHealthClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHealthClientMockRecorder is the mock recorder for MockHealthClient
func (*MockHealthClientMockRecorder) Check ¶
func (mr *MockHealthClientMockRecorder) Check(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Check indicates an expected call of Check
func (*MockHealthClientMockRecorder) Watch ¶ added in v1.5.0
func (mr *MockHealthClientMockRecorder) Watch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Watch indicates an expected call of Watch