Documentation ¶
Overview ¶
Package mock_apiserviceclient is a generated GoMock package.
Index ¶
- type MockAPIServiceClient
- func (m *MockAPIServiceClient) EXPECT() *MockAPIServiceClientMockRecorder
- func (m *MockAPIServiceClient) GetBuckets(ctx context.Context, in *api.GetBucketsRequest, opts ...grpc.CallOption) (*api.BucketResponse, error)
- func (m *MockAPIServiceClient) GetBucketsByCandidate(ctx context.Context, in *api.GetBucketsByCandidateRequest, ...) (*api.BucketResponse, error)
- func (m *MockAPIServiceClient) GetCandidateByName(ctx context.Context, in *api.GetCandidateByNameRequest, ...) (*api.Candidate, error)
- func (m *MockAPIServiceClient) GetCandidates(ctx context.Context, in *api.GetCandidatesRequest, opts ...grpc.CallOption) (*api.CandidateResponse, error)
- func (m *MockAPIServiceClient) GetMeta(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*api.ChainMeta, error)
- func (m *MockAPIServiceClient) GetRawData(ctx context.Context, in *api.GetRawDataRequest, opts ...grpc.CallOption) (*api.RawDataResponse, error)
- func (m *MockAPIServiceClient) IsHealth(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*api.HealthCheckResponse, error)
- type MockAPIServiceClientMockRecorder
- func (mr *MockAPIServiceClientMockRecorder) GetBuckets(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) GetBucketsByCandidate(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) GetCandidateByName(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) GetCandidates(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) GetMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) GetRawData(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) IsHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAPIServiceServer
- func (m *MockAPIServiceServer) EXPECT() *MockAPIServiceServerMockRecorder
- func (m *MockAPIServiceServer) GetBuckets(arg0 context.Context, arg1 *api.GetBucketsRequest) (*api.BucketResponse, error)
- func (m *MockAPIServiceServer) GetBucketsByCandidate(arg0 context.Context, arg1 *api.GetBucketsByCandidateRequest) (*api.BucketResponse, error)
- func (m *MockAPIServiceServer) GetCandidateByName(arg0 context.Context, arg1 *api.GetCandidateByNameRequest) (*api.Candidate, error)
- func (m *MockAPIServiceServer) GetCandidates(arg0 context.Context, arg1 *api.GetCandidatesRequest) (*api.CandidateResponse, error)
- func (m *MockAPIServiceServer) GetMeta(arg0 context.Context, arg1 *empty.Empty) (*api.ChainMeta, error)
- func (m *MockAPIServiceServer) GetRawData(arg0 context.Context, arg1 *api.GetRawDataRequest) (*api.RawDataResponse, error)
- func (m *MockAPIServiceServer) IsHealth(arg0 context.Context, arg1 *empty.Empty) (*api.HealthCheckResponse, error)
- type MockAPIServiceServerMockRecorder
- func (mr *MockAPIServiceServerMockRecorder) GetBuckets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetBucketsByCandidate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetCandidateByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetCandidates(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetMeta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) GetRawData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIServiceServerMockRecorder) IsHealth(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIServiceClient ¶
type MockAPIServiceClient struct {
// contains filtered or unexported fields
}
MockAPIServiceClient is a mock of APIServiceClient interface
func NewMockAPIServiceClient ¶
func NewMockAPIServiceClient(ctrl *gomock.Controller) *MockAPIServiceClient
NewMockAPIServiceClient creates a new mock instance
func (*MockAPIServiceClient) EXPECT ¶
func (m *MockAPIServiceClient) EXPECT() *MockAPIServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPIServiceClient) GetBuckets ¶ added in v0.2.3
func (m *MockAPIServiceClient) GetBuckets(ctx context.Context, in *api.GetBucketsRequest, opts ...grpc.CallOption) (*api.BucketResponse, error)
GetBuckets mocks base method
func (*MockAPIServiceClient) GetBucketsByCandidate ¶
func (m *MockAPIServiceClient) GetBucketsByCandidate(ctx context.Context, in *api.GetBucketsByCandidateRequest, opts ...grpc.CallOption) (*api.BucketResponse, error)
GetBucketsByCandidate mocks base method
func (*MockAPIServiceClient) GetCandidateByName ¶
func (m *MockAPIServiceClient) GetCandidateByName(ctx context.Context, in *api.GetCandidateByNameRequest, opts ...grpc.CallOption) (*api.Candidate, error)
GetCandidateByName mocks base method
func (*MockAPIServiceClient) GetCandidates ¶
func (m *MockAPIServiceClient) GetCandidates(ctx context.Context, in *api.GetCandidatesRequest, opts ...grpc.CallOption) (*api.CandidateResponse, error)
GetCandidates mocks base method
func (*MockAPIServiceClient) GetMeta ¶
func (m *MockAPIServiceClient) GetMeta(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*api.ChainMeta, error)
GetMeta mocks base method
func (*MockAPIServiceClient) GetRawData ¶ added in v0.2.4
func (m *MockAPIServiceClient) GetRawData(ctx context.Context, in *api.GetRawDataRequest, opts ...grpc.CallOption) (*api.RawDataResponse, error)
GetRawData mocks base method
func (*MockAPIServiceClient) IsHealth ¶
func (m *MockAPIServiceClient) IsHealth(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*api.HealthCheckResponse, error)
IsHealth mocks base method
type MockAPIServiceClientMockRecorder ¶
type MockAPIServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIServiceClientMockRecorder is the mock recorder for MockAPIServiceClient
func (*MockAPIServiceClientMockRecorder) GetBuckets ¶ added in v0.2.3
func (mr *MockAPIServiceClientMockRecorder) GetBuckets(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetBuckets indicates an expected call of GetBuckets
func (*MockAPIServiceClientMockRecorder) GetBucketsByCandidate ¶
func (mr *MockAPIServiceClientMockRecorder) GetBucketsByCandidate(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetBucketsByCandidate indicates an expected call of GetBucketsByCandidate
func (*MockAPIServiceClientMockRecorder) GetCandidateByName ¶
func (mr *MockAPIServiceClientMockRecorder) GetCandidateByName(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCandidateByName indicates an expected call of GetCandidateByName
func (*MockAPIServiceClientMockRecorder) GetCandidates ¶
func (mr *MockAPIServiceClientMockRecorder) GetCandidates(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCandidates indicates an expected call of GetCandidates
func (*MockAPIServiceClientMockRecorder) GetMeta ¶
func (mr *MockAPIServiceClientMockRecorder) GetMeta(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetMeta indicates an expected call of GetMeta
func (*MockAPIServiceClientMockRecorder) GetRawData ¶ added in v0.2.4
func (mr *MockAPIServiceClientMockRecorder) GetRawData(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRawData indicates an expected call of GetRawData
func (*MockAPIServiceClientMockRecorder) IsHealth ¶
func (mr *MockAPIServiceClientMockRecorder) IsHealth(ctx, in interface{}, opts ...interface{}) *gomock.Call
IsHealth indicates an expected call of IsHealth
type MockAPIServiceServer ¶
type MockAPIServiceServer struct {
// contains filtered or unexported fields
}
MockAPIServiceServer is a mock of APIServiceServer interface
func NewMockAPIServiceServer ¶
func NewMockAPIServiceServer(ctrl *gomock.Controller) *MockAPIServiceServer
NewMockAPIServiceServer creates a new mock instance
func (*MockAPIServiceServer) EXPECT ¶
func (m *MockAPIServiceServer) EXPECT() *MockAPIServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPIServiceServer) GetBuckets ¶ added in v0.2.3
func (m *MockAPIServiceServer) GetBuckets(arg0 context.Context, arg1 *api.GetBucketsRequest) (*api.BucketResponse, error)
GetBuckets mocks base method
func (*MockAPIServiceServer) GetBucketsByCandidate ¶
func (m *MockAPIServiceServer) GetBucketsByCandidate(arg0 context.Context, arg1 *api.GetBucketsByCandidateRequest) (*api.BucketResponse, error)
GetBucketsByCandidate mocks base method
func (*MockAPIServiceServer) GetCandidateByName ¶
func (m *MockAPIServiceServer) GetCandidateByName(arg0 context.Context, arg1 *api.GetCandidateByNameRequest) (*api.Candidate, error)
GetCandidateByName mocks base method
func (*MockAPIServiceServer) GetCandidates ¶
func (m *MockAPIServiceServer) GetCandidates(arg0 context.Context, arg1 *api.GetCandidatesRequest) (*api.CandidateResponse, error)
GetCandidates mocks base method
func (*MockAPIServiceServer) GetMeta ¶
func (m *MockAPIServiceServer) GetMeta(arg0 context.Context, arg1 *empty.Empty) (*api.ChainMeta, error)
GetMeta mocks base method
func (*MockAPIServiceServer) GetRawData ¶ added in v0.2.4
func (m *MockAPIServiceServer) GetRawData(arg0 context.Context, arg1 *api.GetRawDataRequest) (*api.RawDataResponse, error)
GetRawData mocks base method
func (*MockAPIServiceServer) IsHealth ¶
func (m *MockAPIServiceServer) IsHealth(arg0 context.Context, arg1 *empty.Empty) (*api.HealthCheckResponse, error)
IsHealth mocks base method
type MockAPIServiceServerMockRecorder ¶
type MockAPIServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIServiceServerMockRecorder is the mock recorder for MockAPIServiceServer
func (*MockAPIServiceServerMockRecorder) GetBuckets ¶ added in v0.2.3
func (mr *MockAPIServiceServerMockRecorder) GetBuckets(arg0, arg1 interface{}) *gomock.Call
GetBuckets indicates an expected call of GetBuckets
func (*MockAPIServiceServerMockRecorder) GetBucketsByCandidate ¶
func (mr *MockAPIServiceServerMockRecorder) GetBucketsByCandidate(arg0, arg1 interface{}) *gomock.Call
GetBucketsByCandidate indicates an expected call of GetBucketsByCandidate
func (*MockAPIServiceServerMockRecorder) GetCandidateByName ¶
func (mr *MockAPIServiceServerMockRecorder) GetCandidateByName(arg0, arg1 interface{}) *gomock.Call
GetCandidateByName indicates an expected call of GetCandidateByName
func (*MockAPIServiceServerMockRecorder) GetCandidates ¶
func (mr *MockAPIServiceServerMockRecorder) GetCandidates(arg0, arg1 interface{}) *gomock.Call
GetCandidates indicates an expected call of GetCandidates
func (*MockAPIServiceServerMockRecorder) GetMeta ¶
func (mr *MockAPIServiceServerMockRecorder) GetMeta(arg0, arg1 interface{}) *gomock.Call
GetMeta indicates an expected call of GetMeta
func (*MockAPIServiceServerMockRecorder) GetRawData ¶ added in v0.2.4
func (mr *MockAPIServiceServerMockRecorder) GetRawData(arg0, arg1 interface{}) *gomock.Call
GetRawData indicates an expected call of GetRawData
func (*MockAPIServiceServerMockRecorder) IsHealth ¶
func (mr *MockAPIServiceServerMockRecorder) IsHealth(arg0, arg1 interface{}) *gomock.Call
IsHealth indicates an expected call of IsHealth