mock_apiserviceclient

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_apiserviceclient is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPIServiceClient) GetBuckets added in v0.2.3

GetBuckets mocks base method

func (*MockAPIServiceClient) GetBucketsByCandidate

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

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

GetRawData mocks base method

func (*MockAPIServiceClient) IsHealth

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPIServiceServer) GetBuckets added in v0.2.3

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

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

GetRawData mocks base method

func (*MockAPIServiceServer) IsHealth

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL