Documentation ¶
Overview ¶
Package election_mock is a generated GoMock package.
Index ¶
- type MockElectionAPIClient
- func (m *MockElectionAPIClient) CancelVote(ctx context.Context, in *v1.CancelVoteRequest, opts ...grpc.CallOption) (*v1.CancelVoteResponse, error)
- func (m *MockElectionAPIClient) CandidateVote(ctx context.Context, in *v1.CandidateVoteRequest, opts ...grpc.CallOption) (*v1.CircleVote, error)
- func (m *MockElectionAPIClient) CircleVotes(ctx context.Context, in *v1.CircleVotesRequest, opts ...grpc.CallOption) (*v1.CircleVotesResponse, error)
- func (m *MockElectionAPIClient) DeleteCircleGov(ctx context.Context, in *v1.DeleteGovRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockElectionAPIClient) EXPECT() *MockElectionAPIClientMockRecorder
- func (m *MockElectionAPIClient) ElectionVote(ctx context.Context, in *v1.ElectionVoteRequest, opts ...grpc.CallOption) (*v1.ElectionVoteResponse, error)
- func (m *MockElectionAPIClient) FinalizeElection(ctx context.Context, in *v1.FinalizeElectionRequest, opts ...grpc.CallOption) (*v1.FinalizeElectionResponse, error)
- func (m *MockElectionAPIClient) GetElection(ctx context.Context, in *v1.GetElectionRequest, opts ...grpc.CallOption) (*v1.GetElectionResponse, error)
- func (m *MockElectionAPIClient) GetElectionUserVoteByCircle(ctx context.Context, in *v1.GetElectionUserVoteByCircleRequest, ...) (*v1.GetElectionUserVoteByCircleResponse, error)
- func (m *MockElectionAPIClient) GetGovernance(ctx context.Context, in *v1.GetGovRequest, opts ...grpc.CallOption) (*v1.GetGovResponse, error)
- func (m *MockElectionAPIClient) InitCircleGov(ctx context.Context, in *v1.InitGovRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockElectionAPIClient) LiftCircleGov(ctx context.Context, in *v1.LiftGovRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockElectionAPIClient) StartElections(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockElectionAPIClient) TransferVotes(ctx context.Context, in *v1.TransferVotesRequest, opts ...grpc.CallOption) (*v1.Empty, error)
- func (m *MockElectionAPIClient) UserVotes(ctx context.Context, in *v1.UserVotesRequest, opts ...grpc.CallOption) (*v1.UserVotesResponse, error)
- func (m *MockElectionAPIClient) Vote(ctx context.Context, in *v1.VoteRequest, opts ...grpc.CallOption) (*v1.VoteResponse, error)
- type MockElectionAPIClientMockRecorder
- func (mr *MockElectionAPIClientMockRecorder) CancelVote(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) CandidateVote(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) CircleVotes(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) DeleteCircleGov(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) ElectionVote(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) FinalizeElection(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) GetElection(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) GetElectionUserVoteByCircle(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) GetGovernance(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) InitCircleGov(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) LiftCircleGov(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) StartElections(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) TransferVotes(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) UserVotes(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockElectionAPIClientMockRecorder) Vote(ctx, in any, opts ...any) *gomock.Call
- type MockElectionAPIServer
- func (m *MockElectionAPIServer) CancelVote(arg0 context.Context, arg1 *v1.CancelVoteRequest) (*v1.CancelVoteResponse, error)
- func (m *MockElectionAPIServer) CandidateVote(arg0 context.Context, arg1 *v1.CandidateVoteRequest) (*v1.CircleVote, error)
- func (m *MockElectionAPIServer) CircleVotes(arg0 context.Context, arg1 *v1.CircleVotesRequest) (*v1.CircleVotesResponse, error)
- func (m *MockElectionAPIServer) DeleteCircleGov(arg0 context.Context, arg1 *v1.DeleteGovRequest) (*v1.Empty, error)
- func (m *MockElectionAPIServer) EXPECT() *MockElectionAPIServerMockRecorder
- func (m *MockElectionAPIServer) ElectionVote(arg0 context.Context, arg1 *v1.ElectionVoteRequest) (*v1.ElectionVoteResponse, error)
- func (m *MockElectionAPIServer) FinalizeElection(arg0 context.Context, arg1 *v1.FinalizeElectionRequest) (*v1.FinalizeElectionResponse, error)
- func (m *MockElectionAPIServer) GetElection(arg0 context.Context, arg1 *v1.GetElectionRequest) (*v1.GetElectionResponse, error)
- func (m *MockElectionAPIServer) GetElectionUserVoteByCircle(arg0 context.Context, arg1 *v1.GetElectionUserVoteByCircleRequest) (*v1.GetElectionUserVoteByCircleResponse, error)
- func (m *MockElectionAPIServer) GetGovernance(arg0 context.Context, arg1 *v1.GetGovRequest) (*v1.GetGovResponse, error)
- func (m *MockElectionAPIServer) InitCircleGov(arg0 context.Context, arg1 *v1.InitGovRequest) (*v1.Empty, error)
- func (m *MockElectionAPIServer) LiftCircleGov(arg0 context.Context, arg1 *v1.LiftGovRequest) (*v1.Empty, error)
- func (m *MockElectionAPIServer) StartElections(arg0 context.Context, arg1 *v1.Empty) (*v1.Empty, error)
- func (m *MockElectionAPIServer) TransferVotes(arg0 context.Context, arg1 *v1.TransferVotesRequest) (*v1.Empty, error)
- func (m *MockElectionAPIServer) UserVotes(arg0 context.Context, arg1 *v1.UserVotesRequest) (*v1.UserVotesResponse, error)
- func (m *MockElectionAPIServer) Vote(arg0 context.Context, arg1 *v1.VoteRequest) (*v1.VoteResponse, error)
- type MockElectionAPIServerMockRecorder
- func (mr *MockElectionAPIServerMockRecorder) CancelVote(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) CandidateVote(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) CircleVotes(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) DeleteCircleGov(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) ElectionVote(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) FinalizeElection(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) GetElection(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) GetElectionUserVoteByCircle(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) GetGovernance(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) InitCircleGov(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) LiftCircleGov(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) StartElections(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) TransferVotes(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) UserVotes(arg0, arg1 any) *gomock.Call
- func (mr *MockElectionAPIServerMockRecorder) Vote(arg0, arg1 any) *gomock.Call
- type MockUnsafeElectionAPIServer
- type MockUnsafeElectionAPIServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockElectionAPIClient ¶
type MockElectionAPIClient struct {
// contains filtered or unexported fields
}
MockElectionAPIClient is a mock of ElectionAPIClient interface.
func NewMockElectionAPIClient ¶
func NewMockElectionAPIClient(ctrl *gomock.Controller) *MockElectionAPIClient
NewMockElectionAPIClient creates a new mock instance.
func (*MockElectionAPIClient) CancelVote ¶
func (m *MockElectionAPIClient) CancelVote(ctx context.Context, in *v1.CancelVoteRequest, opts ...grpc.CallOption) (*v1.CancelVoteResponse, error)
CancelVote mocks base method.
func (*MockElectionAPIClient) CandidateVote ¶
func (m *MockElectionAPIClient) CandidateVote(ctx context.Context, in *v1.CandidateVoteRequest, opts ...grpc.CallOption) (*v1.CircleVote, error)
CandidateVote mocks base method.
func (*MockElectionAPIClient) CircleVotes ¶
func (m *MockElectionAPIClient) CircleVotes(ctx context.Context, in *v1.CircleVotesRequest, opts ...grpc.CallOption) (*v1.CircleVotesResponse, error)
CircleVotes mocks base method.
func (*MockElectionAPIClient) DeleteCircleGov ¶
func (m *MockElectionAPIClient) DeleteCircleGov(ctx context.Context, in *v1.DeleteGovRequest, opts ...grpc.CallOption) (*v1.Empty, error)
DeleteCircleGov mocks base method.
func (*MockElectionAPIClient) EXPECT ¶
func (m *MockElectionAPIClient) EXPECT() *MockElectionAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockElectionAPIClient) ElectionVote ¶
func (m *MockElectionAPIClient) ElectionVote(ctx context.Context, in *v1.ElectionVoteRequest, opts ...grpc.CallOption) (*v1.ElectionVoteResponse, error)
ElectionVote mocks base method.
func (*MockElectionAPIClient) FinalizeElection ¶
func (m *MockElectionAPIClient) FinalizeElection(ctx context.Context, in *v1.FinalizeElectionRequest, opts ...grpc.CallOption) (*v1.FinalizeElectionResponse, error)
FinalizeElection mocks base method.
func (*MockElectionAPIClient) GetElection ¶
func (m *MockElectionAPIClient) GetElection(ctx context.Context, in *v1.GetElectionRequest, opts ...grpc.CallOption) (*v1.GetElectionResponse, error)
GetElection mocks base method.
func (*MockElectionAPIClient) GetElectionUserVoteByCircle ¶
func (m *MockElectionAPIClient) GetElectionUserVoteByCircle(ctx context.Context, in *v1.GetElectionUserVoteByCircleRequest, opts ...grpc.CallOption) (*v1.GetElectionUserVoteByCircleResponse, error)
GetElectionUserVoteByCircle mocks base method.
func (*MockElectionAPIClient) GetGovernance ¶
func (m *MockElectionAPIClient) GetGovernance(ctx context.Context, in *v1.GetGovRequest, opts ...grpc.CallOption) (*v1.GetGovResponse, error)
GetGovernance mocks base method.
func (*MockElectionAPIClient) InitCircleGov ¶
func (m *MockElectionAPIClient) InitCircleGov(ctx context.Context, in *v1.InitGovRequest, opts ...grpc.CallOption) (*v1.Empty, error)
InitCircleGov mocks base method.
func (*MockElectionAPIClient) LiftCircleGov ¶
func (m *MockElectionAPIClient) LiftCircleGov(ctx context.Context, in *v1.LiftGovRequest, opts ...grpc.CallOption) (*v1.Empty, error)
LiftCircleGov mocks base method.
func (*MockElectionAPIClient) StartElections ¶
func (m *MockElectionAPIClient) StartElections(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Empty, error)
StartElections mocks base method.
func (*MockElectionAPIClient) TransferVotes ¶
func (m *MockElectionAPIClient) TransferVotes(ctx context.Context, in *v1.TransferVotesRequest, opts ...grpc.CallOption) (*v1.Empty, error)
TransferVotes mocks base method.
func (*MockElectionAPIClient) UserVotes ¶
func (m *MockElectionAPIClient) UserVotes(ctx context.Context, in *v1.UserVotesRequest, opts ...grpc.CallOption) (*v1.UserVotesResponse, error)
UserVotes mocks base method.
func (*MockElectionAPIClient) Vote ¶
func (m *MockElectionAPIClient) Vote(ctx context.Context, in *v1.VoteRequest, opts ...grpc.CallOption) (*v1.VoteResponse, error)
Vote mocks base method.
type MockElectionAPIClientMockRecorder ¶
type MockElectionAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockElectionAPIClientMockRecorder is the mock recorder for MockElectionAPIClient.
func (*MockElectionAPIClientMockRecorder) CancelVote ¶
func (mr *MockElectionAPIClientMockRecorder) CancelVote(ctx, in any, opts ...any) *gomock.Call
CancelVote indicates an expected call of CancelVote.
func (*MockElectionAPIClientMockRecorder) CandidateVote ¶
func (mr *MockElectionAPIClientMockRecorder) CandidateVote(ctx, in any, opts ...any) *gomock.Call
CandidateVote indicates an expected call of CandidateVote.
func (*MockElectionAPIClientMockRecorder) CircleVotes ¶
func (mr *MockElectionAPIClientMockRecorder) CircleVotes(ctx, in any, opts ...any) *gomock.Call
CircleVotes indicates an expected call of CircleVotes.
func (*MockElectionAPIClientMockRecorder) DeleteCircleGov ¶
func (mr *MockElectionAPIClientMockRecorder) DeleteCircleGov(ctx, in any, opts ...any) *gomock.Call
DeleteCircleGov indicates an expected call of DeleteCircleGov.
func (*MockElectionAPIClientMockRecorder) ElectionVote ¶
func (mr *MockElectionAPIClientMockRecorder) ElectionVote(ctx, in any, opts ...any) *gomock.Call
ElectionVote indicates an expected call of ElectionVote.
func (*MockElectionAPIClientMockRecorder) FinalizeElection ¶
func (mr *MockElectionAPIClientMockRecorder) FinalizeElection(ctx, in any, opts ...any) *gomock.Call
FinalizeElection indicates an expected call of FinalizeElection.
func (*MockElectionAPIClientMockRecorder) GetElection ¶
func (mr *MockElectionAPIClientMockRecorder) GetElection(ctx, in any, opts ...any) *gomock.Call
GetElection indicates an expected call of GetElection.
func (*MockElectionAPIClientMockRecorder) GetElectionUserVoteByCircle ¶
func (mr *MockElectionAPIClientMockRecorder) GetElectionUserVoteByCircle(ctx, in any, opts ...any) *gomock.Call
GetElectionUserVoteByCircle indicates an expected call of GetElectionUserVoteByCircle.
func (*MockElectionAPIClientMockRecorder) GetGovernance ¶
func (mr *MockElectionAPIClientMockRecorder) GetGovernance(ctx, in any, opts ...any) *gomock.Call
GetGovernance indicates an expected call of GetGovernance.
func (*MockElectionAPIClientMockRecorder) InitCircleGov ¶
func (mr *MockElectionAPIClientMockRecorder) InitCircleGov(ctx, in any, opts ...any) *gomock.Call
InitCircleGov indicates an expected call of InitCircleGov.
func (*MockElectionAPIClientMockRecorder) LiftCircleGov ¶
func (mr *MockElectionAPIClientMockRecorder) LiftCircleGov(ctx, in any, opts ...any) *gomock.Call
LiftCircleGov indicates an expected call of LiftCircleGov.
func (*MockElectionAPIClientMockRecorder) StartElections ¶
func (mr *MockElectionAPIClientMockRecorder) StartElections(ctx, in any, opts ...any) *gomock.Call
StartElections indicates an expected call of StartElections.
func (*MockElectionAPIClientMockRecorder) TransferVotes ¶
func (mr *MockElectionAPIClientMockRecorder) TransferVotes(ctx, in any, opts ...any) *gomock.Call
TransferVotes indicates an expected call of TransferVotes.
type MockElectionAPIServer ¶
type MockElectionAPIServer struct {
// contains filtered or unexported fields
}
MockElectionAPIServer is a mock of ElectionAPIServer interface.
func NewMockElectionAPIServer ¶
func NewMockElectionAPIServer(ctrl *gomock.Controller) *MockElectionAPIServer
NewMockElectionAPIServer creates a new mock instance.
func (*MockElectionAPIServer) CancelVote ¶
func (m *MockElectionAPIServer) CancelVote(arg0 context.Context, arg1 *v1.CancelVoteRequest) (*v1.CancelVoteResponse, error)
CancelVote mocks base method.
func (*MockElectionAPIServer) CandidateVote ¶
func (m *MockElectionAPIServer) CandidateVote(arg0 context.Context, arg1 *v1.CandidateVoteRequest) (*v1.CircleVote, error)
CandidateVote mocks base method.
func (*MockElectionAPIServer) CircleVotes ¶
func (m *MockElectionAPIServer) CircleVotes(arg0 context.Context, arg1 *v1.CircleVotesRequest) (*v1.CircleVotesResponse, error)
CircleVotes mocks base method.
func (*MockElectionAPIServer) DeleteCircleGov ¶
func (m *MockElectionAPIServer) DeleteCircleGov(arg0 context.Context, arg1 *v1.DeleteGovRequest) (*v1.Empty, error)
DeleteCircleGov mocks base method.
func (*MockElectionAPIServer) EXPECT ¶
func (m *MockElectionAPIServer) EXPECT() *MockElectionAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockElectionAPIServer) ElectionVote ¶
func (m *MockElectionAPIServer) ElectionVote(arg0 context.Context, arg1 *v1.ElectionVoteRequest) (*v1.ElectionVoteResponse, error)
ElectionVote mocks base method.
func (*MockElectionAPIServer) FinalizeElection ¶
func (m *MockElectionAPIServer) FinalizeElection(arg0 context.Context, arg1 *v1.FinalizeElectionRequest) (*v1.FinalizeElectionResponse, error)
FinalizeElection mocks base method.
func (*MockElectionAPIServer) GetElection ¶
func (m *MockElectionAPIServer) GetElection(arg0 context.Context, arg1 *v1.GetElectionRequest) (*v1.GetElectionResponse, error)
GetElection mocks base method.
func (*MockElectionAPIServer) GetElectionUserVoteByCircle ¶
func (m *MockElectionAPIServer) GetElectionUserVoteByCircle(arg0 context.Context, arg1 *v1.GetElectionUserVoteByCircleRequest) (*v1.GetElectionUserVoteByCircleResponse, error)
GetElectionUserVoteByCircle mocks base method.
func (*MockElectionAPIServer) GetGovernance ¶
func (m *MockElectionAPIServer) GetGovernance(arg0 context.Context, arg1 *v1.GetGovRequest) (*v1.GetGovResponse, error)
GetGovernance mocks base method.
func (*MockElectionAPIServer) InitCircleGov ¶
func (m *MockElectionAPIServer) InitCircleGov(arg0 context.Context, arg1 *v1.InitGovRequest) (*v1.Empty, error)
InitCircleGov mocks base method.
func (*MockElectionAPIServer) LiftCircleGov ¶
func (m *MockElectionAPIServer) LiftCircleGov(arg0 context.Context, arg1 *v1.LiftGovRequest) (*v1.Empty, error)
LiftCircleGov mocks base method.
func (*MockElectionAPIServer) StartElections ¶
func (m *MockElectionAPIServer) StartElections(arg0 context.Context, arg1 *v1.Empty) (*v1.Empty, error)
StartElections mocks base method.
func (*MockElectionAPIServer) TransferVotes ¶
func (m *MockElectionAPIServer) TransferVotes(arg0 context.Context, arg1 *v1.TransferVotesRequest) (*v1.Empty, error)
TransferVotes mocks base method.
func (*MockElectionAPIServer) UserVotes ¶
func (m *MockElectionAPIServer) UserVotes(arg0 context.Context, arg1 *v1.UserVotesRequest) (*v1.UserVotesResponse, error)
UserVotes mocks base method.
func (*MockElectionAPIServer) Vote ¶
func (m *MockElectionAPIServer) Vote(arg0 context.Context, arg1 *v1.VoteRequest) (*v1.VoteResponse, error)
Vote mocks base method.
type MockElectionAPIServerMockRecorder ¶
type MockElectionAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockElectionAPIServerMockRecorder is the mock recorder for MockElectionAPIServer.
func (*MockElectionAPIServerMockRecorder) CancelVote ¶
func (mr *MockElectionAPIServerMockRecorder) CancelVote(arg0, arg1 any) *gomock.Call
CancelVote indicates an expected call of CancelVote.
func (*MockElectionAPIServerMockRecorder) CandidateVote ¶
func (mr *MockElectionAPIServerMockRecorder) CandidateVote(arg0, arg1 any) *gomock.Call
CandidateVote indicates an expected call of CandidateVote.
func (*MockElectionAPIServerMockRecorder) CircleVotes ¶
func (mr *MockElectionAPIServerMockRecorder) CircleVotes(arg0, arg1 any) *gomock.Call
CircleVotes indicates an expected call of CircleVotes.
func (*MockElectionAPIServerMockRecorder) DeleteCircleGov ¶
func (mr *MockElectionAPIServerMockRecorder) DeleteCircleGov(arg0, arg1 any) *gomock.Call
DeleteCircleGov indicates an expected call of DeleteCircleGov.
func (*MockElectionAPIServerMockRecorder) ElectionVote ¶
func (mr *MockElectionAPIServerMockRecorder) ElectionVote(arg0, arg1 any) *gomock.Call
ElectionVote indicates an expected call of ElectionVote.
func (*MockElectionAPIServerMockRecorder) FinalizeElection ¶
func (mr *MockElectionAPIServerMockRecorder) FinalizeElection(arg0, arg1 any) *gomock.Call
FinalizeElection indicates an expected call of FinalizeElection.
func (*MockElectionAPIServerMockRecorder) GetElection ¶
func (mr *MockElectionAPIServerMockRecorder) GetElection(arg0, arg1 any) *gomock.Call
GetElection indicates an expected call of GetElection.
func (*MockElectionAPIServerMockRecorder) GetElectionUserVoteByCircle ¶
func (mr *MockElectionAPIServerMockRecorder) GetElectionUserVoteByCircle(arg0, arg1 any) *gomock.Call
GetElectionUserVoteByCircle indicates an expected call of GetElectionUserVoteByCircle.
func (*MockElectionAPIServerMockRecorder) GetGovernance ¶
func (mr *MockElectionAPIServerMockRecorder) GetGovernance(arg0, arg1 any) *gomock.Call
GetGovernance indicates an expected call of GetGovernance.
func (*MockElectionAPIServerMockRecorder) InitCircleGov ¶
func (mr *MockElectionAPIServerMockRecorder) InitCircleGov(arg0, arg1 any) *gomock.Call
InitCircleGov indicates an expected call of InitCircleGov.
func (*MockElectionAPIServerMockRecorder) LiftCircleGov ¶
func (mr *MockElectionAPIServerMockRecorder) LiftCircleGov(arg0, arg1 any) *gomock.Call
LiftCircleGov indicates an expected call of LiftCircleGov.
func (*MockElectionAPIServerMockRecorder) StartElections ¶
func (mr *MockElectionAPIServerMockRecorder) StartElections(arg0, arg1 any) *gomock.Call
StartElections indicates an expected call of StartElections.
func (*MockElectionAPIServerMockRecorder) TransferVotes ¶
func (mr *MockElectionAPIServerMockRecorder) TransferVotes(arg0, arg1 any) *gomock.Call
TransferVotes indicates an expected call of TransferVotes.
type MockUnsafeElectionAPIServer ¶
type MockUnsafeElectionAPIServer struct {
// contains filtered or unexported fields
}
MockUnsafeElectionAPIServer is a mock of UnsafeElectionAPIServer interface.
func NewMockUnsafeElectionAPIServer ¶
func NewMockUnsafeElectionAPIServer(ctrl *gomock.Controller) *MockUnsafeElectionAPIServer
NewMockUnsafeElectionAPIServer creates a new mock instance.
func (*MockUnsafeElectionAPIServer) EXPECT ¶
func (m *MockUnsafeElectionAPIServer) EXPECT() *MockUnsafeElectionAPIServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeElectionAPIServerMockRecorder ¶
type MockUnsafeElectionAPIServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeElectionAPIServerMockRecorder is the mock recorder for MockUnsafeElectionAPIServer.