(_ context.Context, _ *grpc_health_v1.HealthCheckRequest, _ ...grpc.CallOption)
| 25 | } |
| 26 | |
| 27 | func (i mockClient) Check(_ context.Context, _ *grpc_health_v1.HealthCheckRequest, _ ...grpc.CallOption) (*grpc_health_v1.HealthCheckResponse, error) { |
| 28 | if !i.happy { |
| 29 | return nil, fmt.Errorf("Fail") |
| 30 | } |
| 31 | return &grpc_health_v1.HealthCheckResponse{Status: i.status}, nil |
| 32 | } |
| 33 | |
| 34 | func (i mockClient) List(_ context.Context, _ *grpc_health_v1.HealthListRequest, _ ...grpc.CallOption) (*grpc_health_v1.HealthListResponse, error) { |
| 35 | if !i.happy { |
no test coverage detected