Documentation ¶
Overview ¶
Package mock_fairnode is a generated GoMock package.
Package mock_fairnode is a generated GoMock package.
Index ¶
- type MockFairnodeServiceClient
- func (m *MockFairnodeServiceClient) EXPECT() *MockFairnodeServiceClientMockRecorder
- func (m *MockFairnodeServiceClient) HeartBeat(ctx context.Context, in *common.HeartBeat, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockFairnodeServiceClient) ProcessController(ctx context.Context, in *common.Participate, opts ...grpc.CallOption) (fairnode.FairnodeService_ProcessControllerClient, error)
- func (m *MockFairnodeServiceClient) RequestFairnodeSign(ctx context.Context, in *common.ReqFairnodeSign, opts ...grpc.CallOption) (*common.ResFairnodeSign, error)
- func (m *MockFairnodeServiceClient) RequestLeague(ctx context.Context, in *common.ReqLeague, opts ...grpc.CallOption) (*common.ResLeague, error)
- func (m *MockFairnodeServiceClient) RequestOtprn(ctx context.Context, in *common.ReqOtprn, opts ...grpc.CallOption) (*common.ResOtprn, error)
- func (m *MockFairnodeServiceClient) RequestVoteResult(ctx context.Context, in *common.ReqVoteResult, opts ...grpc.CallOption) (*common.ResVoteResult, error)
- func (m *MockFairnodeServiceClient) SealConfirm(ctx context.Context, in *common.ReqConfirmSeal, opts ...grpc.CallOption) (fairnode.FairnodeService_SealConfirmClient, error)
- func (m *MockFairnodeServiceClient) SendBlock(ctx context.Context, in *common.ReqBlock, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockFairnodeServiceClient) Vote(ctx context.Context, in *common.Vote, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type MockFairnodeServiceClientMockRecorder
- func (mr *MockFairnodeServiceClientMockRecorder) HeartBeat(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) ProcessController(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) RequestFairnodeSign(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) RequestLeague(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) RequestOtprn(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) RequestVoteResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) SealConfirm(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) SendBlock(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockFairnodeServiceClientMockRecorder) Vote(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockFairnodeServiceServer
- func (m *MockFairnodeServiceServer) EXPECT() *MockFairnodeServiceServerMockRecorder
- func (m *MockFairnodeServiceServer) HeartBeat(arg0 context.Context, arg1 *common.HeartBeat) (*emptypb.Empty, error)
- func (m *MockFairnodeServiceServer) ProcessController(arg0 *common.Participate, ...) error
- func (m *MockFairnodeServiceServer) RequestFairnodeSign(arg0 context.Context, arg1 *common.ReqFairnodeSign) (*common.ResFairnodeSign, error)
- func (m *MockFairnodeServiceServer) RequestLeague(arg0 context.Context, arg1 *common.ReqLeague) (*common.ResLeague, error)
- func (m *MockFairnodeServiceServer) RequestOtprn(arg0 context.Context, arg1 *common.ReqOtprn) (*common.ResOtprn, error)
- func (m *MockFairnodeServiceServer) RequestVoteResult(arg0 context.Context, arg1 *common.ReqVoteResult) (*common.ResVoteResult, error)
- func (m *MockFairnodeServiceServer) SealConfirm(arg0 *common.ReqConfirmSeal, arg1 fairnode.FairnodeService_SealConfirmServer) error
- func (m *MockFairnodeServiceServer) SendBlock(arg0 context.Context, arg1 *common.ReqBlock) (*emptypb.Empty, error)
- func (m *MockFairnodeServiceServer) Vote(arg0 context.Context, arg1 *common.Vote) (*emptypb.Empty, error)
- type MockFairnodeServiceServerMockRecorder
- func (mr *MockFairnodeServiceServerMockRecorder) HeartBeat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) ProcessController(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) RequestFairnodeSign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) RequestLeague(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) RequestOtprn(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) RequestVoteResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) SealConfirm(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) SendBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFairnodeServiceServerMockRecorder) Vote(arg0, arg1 interface{}) *gomock.Call
- type MockFairnodeService_ProcessControllerClient
- func (m *MockFairnodeService_ProcessControllerClient) CloseSend() error
- func (m *MockFairnodeService_ProcessControllerClient) Context() context.Context
- func (m *MockFairnodeService_ProcessControllerClient) EXPECT() *MockFairnodeService_ProcessControllerClientMockRecorder
- func (m *MockFairnodeService_ProcessControllerClient) Header() (metadata.MD, error)
- func (m *MockFairnodeService_ProcessControllerClient) Recv() (*common.ProcessMessage, error)
- func (m_2 *MockFairnodeService_ProcessControllerClient) RecvMsg(m interface{}) error
- func (m_2 *MockFairnodeService_ProcessControllerClient) SendMsg(m interface{}) error
- func (m *MockFairnodeService_ProcessControllerClient) Trailer() metadata.MD
- type MockFairnodeService_ProcessControllerClientMockRecorder
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Context() *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Header() *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Recv() *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Trailer() *gomock.Call
- type MockFairnodeService_ProcessControllerServer
- func (m *MockFairnodeService_ProcessControllerServer) Context() context.Context
- func (m *MockFairnodeService_ProcessControllerServer) EXPECT() *MockFairnodeService_ProcessControllerServerMockRecorder
- func (m_2 *MockFairnodeService_ProcessControllerServer) RecvMsg(m interface{}) error
- func (m *MockFairnodeService_ProcessControllerServer) Send(arg0 *common.ProcessMessage) error
- func (m *MockFairnodeService_ProcessControllerServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockFairnodeService_ProcessControllerServer) SendMsg(m interface{}) error
- func (m *MockFairnodeService_ProcessControllerServer) SetHeader(arg0 metadata.MD) error
- func (m *MockFairnodeService_ProcessControllerServer) SetTrailer(arg0 metadata.MD)
- type MockFairnodeService_ProcessControllerServerMockRecorder
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) Context() *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockFairnodeService_SealConfirmClient
- func (m *MockFairnodeService_SealConfirmClient) CloseSend() error
- func (m *MockFairnodeService_SealConfirmClient) Context() context.Context
- func (m *MockFairnodeService_SealConfirmClient) EXPECT() *MockFairnodeService_SealConfirmClientMockRecorder
- func (m *MockFairnodeService_SealConfirmClient) Header() (metadata.MD, error)
- func (m *MockFairnodeService_SealConfirmClient) Recv() (*common.ResConfirmSeal, error)
- func (m_2 *MockFairnodeService_SealConfirmClient) RecvMsg(m interface{}) error
- func (m_2 *MockFairnodeService_SealConfirmClient) SendMsg(m interface{}) error
- func (m *MockFairnodeService_SealConfirmClient) Trailer() metadata.MD
- type MockFairnodeService_SealConfirmClientMockRecorder
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Context() *gomock.Call
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Header() *gomock.Call
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Recv() *gomock.Call
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Trailer() *gomock.Call
- type MockFairnodeService_SealConfirmServer
- func (m *MockFairnodeService_SealConfirmServer) Context() context.Context
- func (m *MockFairnodeService_SealConfirmServer) EXPECT() *MockFairnodeService_SealConfirmServerMockRecorder
- func (m_2 *MockFairnodeService_SealConfirmServer) RecvMsg(m interface{}) error
- func (m *MockFairnodeService_SealConfirmServer) Send(arg0 *common.ResConfirmSeal) error
- func (m *MockFairnodeService_SealConfirmServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockFairnodeService_SealConfirmServer) SendMsg(m interface{}) error
- func (m *MockFairnodeService_SealConfirmServer) SetHeader(arg0 metadata.MD) error
- func (m *MockFairnodeService_SealConfirmServer) SetTrailer(arg0 metadata.MD)
- type MockFairnodeService_SealConfirmServerMockRecorder
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) Context() *gomock.Call
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockFairnodeSyncServiceClient
- type MockFairnodeSyncServiceClientMockRecorder
- type MockFairnodeSyncServiceServer
- type MockFairnodeSyncServiceServerMockRecorder
- type MockFairnodeSyncService_SyncControllerClient
- func (m *MockFairnodeSyncService_SyncControllerClient) CloseSend() error
- func (m *MockFairnodeSyncService_SyncControllerClient) Context() context.Context
- func (m *MockFairnodeSyncService_SyncControllerClient) EXPECT() *MockFairnodeSyncService_SyncControllerClientMockRecorder
- func (m *MockFairnodeSyncService_SyncControllerClient) Header() (metadata.MD, error)
- func (m *MockFairnodeSyncService_SyncControllerClient) Recv() (*common.FairnodeMessage, error)
- func (m_2 *MockFairnodeSyncService_SyncControllerClient) RecvMsg(m interface{}) error
- func (m_2 *MockFairnodeSyncService_SyncControllerClient) SendMsg(m interface{}) error
- func (m *MockFairnodeSyncService_SyncControllerClient) Trailer() metadata.MD
- type MockFairnodeSyncService_SyncControllerClientMockRecorder
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Context() *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Header() *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Recv() *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Trailer() *gomock.Call
- type MockFairnodeSyncService_SyncControllerServer
- func (m *MockFairnodeSyncService_SyncControllerServer) Context() context.Context
- func (m *MockFairnodeSyncService_SyncControllerServer) EXPECT() *MockFairnodeSyncService_SyncControllerServerMockRecorder
- func (m_2 *MockFairnodeSyncService_SyncControllerServer) RecvMsg(m interface{}) error
- func (m *MockFairnodeSyncService_SyncControllerServer) Send(arg0 *common.FairnodeMessage) error
- func (m *MockFairnodeSyncService_SyncControllerServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockFairnodeSyncService_SyncControllerServer) SendMsg(m interface{}) error
- func (m *MockFairnodeSyncService_SyncControllerServer) SetHeader(arg0 metadata.MD) error
- func (m *MockFairnodeSyncService_SyncControllerServer) SetTrailer(arg0 metadata.MD)
- type MockFairnodeSyncService_SyncControllerServerMockRecorder
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) Context() *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockUnsafeFairnodeServiceServer
- type MockUnsafeFairnodeServiceServerMockRecorder
- type MockUnsafeFairnodeSyncServiceServer
- type MockUnsafeFairnodeSyncServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFairnodeServiceClient ¶
type MockFairnodeServiceClient struct {
// contains filtered or unexported fields
}
MockFairnodeServiceClient is a mock of FairnodeServiceClient interface.
func NewMockFairnodeServiceClient ¶
func NewMockFairnodeServiceClient(ctrl *gomock.Controller) *MockFairnodeServiceClient
NewMockFairnodeServiceClient creates a new mock instance.
func (*MockFairnodeServiceClient) EXPECT ¶
func (m *MockFairnodeServiceClient) EXPECT() *MockFairnodeServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeServiceClient) HeartBeat ¶
func (m *MockFairnodeServiceClient) HeartBeat(ctx context.Context, in *common.HeartBeat, opts ...grpc.CallOption) (*emptypb.Empty, error)
HeartBeat mocks base method.
func (*MockFairnodeServiceClient) ProcessController ¶
func (m *MockFairnodeServiceClient) ProcessController(ctx context.Context, in *common.Participate, opts ...grpc.CallOption) (fairnode.FairnodeService_ProcessControllerClient, error)
ProcessController mocks base method.
func (*MockFairnodeServiceClient) RequestFairnodeSign ¶
func (m *MockFairnodeServiceClient) RequestFairnodeSign(ctx context.Context, in *common.ReqFairnodeSign, opts ...grpc.CallOption) (*common.ResFairnodeSign, error)
RequestFairnodeSign mocks base method.
func (*MockFairnodeServiceClient) RequestLeague ¶ added in v0.8.1
func (m *MockFairnodeServiceClient) RequestLeague(ctx context.Context, in *common.ReqLeague, opts ...grpc.CallOption) (*common.ResLeague, error)
RequestLeague mocks base method.
func (*MockFairnodeServiceClient) RequestOtprn ¶
func (m *MockFairnodeServiceClient) RequestOtprn(ctx context.Context, in *common.ReqOtprn, opts ...grpc.CallOption) (*common.ResOtprn, error)
RequestOtprn mocks base method.
func (*MockFairnodeServiceClient) RequestVoteResult ¶
func (m *MockFairnodeServiceClient) RequestVoteResult(ctx context.Context, in *common.ReqVoteResult, opts ...grpc.CallOption) (*common.ResVoteResult, error)
RequestVoteResult mocks base method.
func (*MockFairnodeServiceClient) SealConfirm ¶
func (m *MockFairnodeServiceClient) SealConfirm(ctx context.Context, in *common.ReqConfirmSeal, opts ...grpc.CallOption) (fairnode.FairnodeService_SealConfirmClient, error)
SealConfirm mocks base method.
type MockFairnodeServiceClientMockRecorder ¶
type MockFairnodeServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeServiceClientMockRecorder is the mock recorder for MockFairnodeServiceClient.
func (*MockFairnodeServiceClientMockRecorder) HeartBeat ¶
func (mr *MockFairnodeServiceClientMockRecorder) HeartBeat(ctx, in interface{}, opts ...interface{}) *gomock.Call
HeartBeat indicates an expected call of HeartBeat.
func (*MockFairnodeServiceClientMockRecorder) ProcessController ¶
func (mr *MockFairnodeServiceClientMockRecorder) ProcessController(ctx, in interface{}, opts ...interface{}) *gomock.Call
ProcessController indicates an expected call of ProcessController.
func (*MockFairnodeServiceClientMockRecorder) RequestFairnodeSign ¶
func (mr *MockFairnodeServiceClientMockRecorder) RequestFairnodeSign(ctx, in interface{}, opts ...interface{}) *gomock.Call
RequestFairnodeSign indicates an expected call of RequestFairnodeSign.
func (*MockFairnodeServiceClientMockRecorder) RequestLeague ¶ added in v0.8.1
func (mr *MockFairnodeServiceClientMockRecorder) RequestLeague(ctx, in interface{}, opts ...interface{}) *gomock.Call
RequestLeague indicates an expected call of RequestLeague.
func (*MockFairnodeServiceClientMockRecorder) RequestOtprn ¶
func (mr *MockFairnodeServiceClientMockRecorder) RequestOtprn(ctx, in interface{}, opts ...interface{}) *gomock.Call
RequestOtprn indicates an expected call of RequestOtprn.
func (*MockFairnodeServiceClientMockRecorder) RequestVoteResult ¶
func (mr *MockFairnodeServiceClientMockRecorder) RequestVoteResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
RequestVoteResult indicates an expected call of RequestVoteResult.
func (*MockFairnodeServiceClientMockRecorder) SealConfirm ¶
func (mr *MockFairnodeServiceClientMockRecorder) SealConfirm(ctx, in interface{}, opts ...interface{}) *gomock.Call
SealConfirm indicates an expected call of SealConfirm.
func (*MockFairnodeServiceClientMockRecorder) SendBlock ¶
func (mr *MockFairnodeServiceClientMockRecorder) SendBlock(ctx, in interface{}, opts ...interface{}) *gomock.Call
SendBlock indicates an expected call of SendBlock.
func (*MockFairnodeServiceClientMockRecorder) Vote ¶
func (mr *MockFairnodeServiceClientMockRecorder) Vote(ctx, in interface{}, opts ...interface{}) *gomock.Call
Vote indicates an expected call of Vote.
type MockFairnodeServiceServer ¶
type MockFairnodeServiceServer struct {
// contains filtered or unexported fields
}
MockFairnodeServiceServer is a mock of FairnodeServiceServer interface.
func NewMockFairnodeServiceServer ¶
func NewMockFairnodeServiceServer(ctrl *gomock.Controller) *MockFairnodeServiceServer
NewMockFairnodeServiceServer creates a new mock instance.
func (*MockFairnodeServiceServer) EXPECT ¶
func (m *MockFairnodeServiceServer) EXPECT() *MockFairnodeServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeServiceServer) HeartBeat ¶
func (m *MockFairnodeServiceServer) HeartBeat(arg0 context.Context, arg1 *common.HeartBeat) (*emptypb.Empty, error)
HeartBeat mocks base method.
func (*MockFairnodeServiceServer) ProcessController ¶
func (m *MockFairnodeServiceServer) ProcessController(arg0 *common.Participate, arg1 fairnode.FairnodeService_ProcessControllerServer) error
ProcessController mocks base method.
func (*MockFairnodeServiceServer) RequestFairnodeSign ¶
func (m *MockFairnodeServiceServer) RequestFairnodeSign(arg0 context.Context, arg1 *common.ReqFairnodeSign) (*common.ResFairnodeSign, error)
RequestFairnodeSign mocks base method.
func (*MockFairnodeServiceServer) RequestLeague ¶ added in v0.8.1
func (m *MockFairnodeServiceServer) RequestLeague(arg0 context.Context, arg1 *common.ReqLeague) (*common.ResLeague, error)
RequestLeague mocks base method.
func (*MockFairnodeServiceServer) RequestOtprn ¶
func (m *MockFairnodeServiceServer) RequestOtprn(arg0 context.Context, arg1 *common.ReqOtprn) (*common.ResOtprn, error)
RequestOtprn mocks base method.
func (*MockFairnodeServiceServer) RequestVoteResult ¶
func (m *MockFairnodeServiceServer) RequestVoteResult(arg0 context.Context, arg1 *common.ReqVoteResult) (*common.ResVoteResult, error)
RequestVoteResult mocks base method.
func (*MockFairnodeServiceServer) SealConfirm ¶
func (m *MockFairnodeServiceServer) SealConfirm(arg0 *common.ReqConfirmSeal, arg1 fairnode.FairnodeService_SealConfirmServer) error
SealConfirm mocks base method.
type MockFairnodeServiceServerMockRecorder ¶
type MockFairnodeServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeServiceServerMockRecorder is the mock recorder for MockFairnodeServiceServer.
func (*MockFairnodeServiceServerMockRecorder) HeartBeat ¶
func (mr *MockFairnodeServiceServerMockRecorder) HeartBeat(arg0, arg1 interface{}) *gomock.Call
HeartBeat indicates an expected call of HeartBeat.
func (*MockFairnodeServiceServerMockRecorder) ProcessController ¶
func (mr *MockFairnodeServiceServerMockRecorder) ProcessController(arg0, arg1 interface{}) *gomock.Call
ProcessController indicates an expected call of ProcessController.
func (*MockFairnodeServiceServerMockRecorder) RequestFairnodeSign ¶
func (mr *MockFairnodeServiceServerMockRecorder) RequestFairnodeSign(arg0, arg1 interface{}) *gomock.Call
RequestFairnodeSign indicates an expected call of RequestFairnodeSign.
func (*MockFairnodeServiceServerMockRecorder) RequestLeague ¶ added in v0.8.1
func (mr *MockFairnodeServiceServerMockRecorder) RequestLeague(arg0, arg1 interface{}) *gomock.Call
RequestLeague indicates an expected call of RequestLeague.
func (*MockFairnodeServiceServerMockRecorder) RequestOtprn ¶
func (mr *MockFairnodeServiceServerMockRecorder) RequestOtprn(arg0, arg1 interface{}) *gomock.Call
RequestOtprn indicates an expected call of RequestOtprn.
func (*MockFairnodeServiceServerMockRecorder) RequestVoteResult ¶
func (mr *MockFairnodeServiceServerMockRecorder) RequestVoteResult(arg0, arg1 interface{}) *gomock.Call
RequestVoteResult indicates an expected call of RequestVoteResult.
func (*MockFairnodeServiceServerMockRecorder) SealConfirm ¶
func (mr *MockFairnodeServiceServerMockRecorder) SealConfirm(arg0, arg1 interface{}) *gomock.Call
SealConfirm indicates an expected call of SealConfirm.
func (*MockFairnodeServiceServerMockRecorder) SendBlock ¶
func (mr *MockFairnodeServiceServerMockRecorder) SendBlock(arg0, arg1 interface{}) *gomock.Call
SendBlock indicates an expected call of SendBlock.
func (*MockFairnodeServiceServerMockRecorder) Vote ¶
func (mr *MockFairnodeServiceServerMockRecorder) Vote(arg0, arg1 interface{}) *gomock.Call
Vote indicates an expected call of Vote.
type MockFairnodeService_ProcessControllerClient ¶
type MockFairnodeService_ProcessControllerClient struct {
// contains filtered or unexported fields
}
MockFairnodeService_ProcessControllerClient is a mock of FairnodeService_ProcessControllerClient interface.
func NewMockFairnodeService_ProcessControllerClient ¶
func NewMockFairnodeService_ProcessControllerClient(ctrl *gomock.Controller) *MockFairnodeService_ProcessControllerClient
NewMockFairnodeService_ProcessControllerClient creates a new mock instance.
func (*MockFairnodeService_ProcessControllerClient) CloseSend ¶
func (m *MockFairnodeService_ProcessControllerClient) CloseSend() error
CloseSend mocks base method.
func (*MockFairnodeService_ProcessControllerClient) Context ¶
func (m *MockFairnodeService_ProcessControllerClient) Context() context.Context
Context mocks base method.
func (*MockFairnodeService_ProcessControllerClient) EXPECT ¶
func (m *MockFairnodeService_ProcessControllerClient) EXPECT() *MockFairnodeService_ProcessControllerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeService_ProcessControllerClient) Header ¶
func (m *MockFairnodeService_ProcessControllerClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockFairnodeService_ProcessControllerClient) Recv ¶
func (m *MockFairnodeService_ProcessControllerClient) Recv() (*common.ProcessMessage, error)
Recv mocks base method.
func (*MockFairnodeService_ProcessControllerClient) RecvMsg ¶
func (m_2 *MockFairnodeService_ProcessControllerClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockFairnodeService_ProcessControllerClient) SendMsg ¶
func (m_2 *MockFairnodeService_ProcessControllerClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockFairnodeService_ProcessControllerClient) Trailer ¶
func (m *MockFairnodeService_ProcessControllerClient) Trailer() metadata.MD
Trailer mocks base method.
type MockFairnodeService_ProcessControllerClientMockRecorder ¶
type MockFairnodeService_ProcessControllerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeService_ProcessControllerClientMockRecorder is the mock recorder for MockFairnodeService_ProcessControllerClient.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) CloseSend ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) Context ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) Header ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) Recv ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) RecvMsg ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) SendMsg ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFairnodeService_ProcessControllerClientMockRecorder) Trailer ¶
func (mr *MockFairnodeService_ProcessControllerClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockFairnodeService_ProcessControllerServer ¶
type MockFairnodeService_ProcessControllerServer struct {
// contains filtered or unexported fields
}
MockFairnodeService_ProcessControllerServer is a mock of FairnodeService_ProcessControllerServer interface.
func NewMockFairnodeService_ProcessControllerServer ¶
func NewMockFairnodeService_ProcessControllerServer(ctrl *gomock.Controller) *MockFairnodeService_ProcessControllerServer
NewMockFairnodeService_ProcessControllerServer creates a new mock instance.
func (*MockFairnodeService_ProcessControllerServer) Context ¶
func (m *MockFairnodeService_ProcessControllerServer) Context() context.Context
Context mocks base method.
func (*MockFairnodeService_ProcessControllerServer) EXPECT ¶
func (m *MockFairnodeService_ProcessControllerServer) EXPECT() *MockFairnodeService_ProcessControllerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeService_ProcessControllerServer) RecvMsg ¶
func (m_2 *MockFairnodeService_ProcessControllerServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockFairnodeService_ProcessControllerServer) Send ¶
func (m *MockFairnodeService_ProcessControllerServer) Send(arg0 *common.ProcessMessage) error
Send mocks base method.
func (*MockFairnodeService_ProcessControllerServer) SendHeader ¶
func (m *MockFairnodeService_ProcessControllerServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockFairnodeService_ProcessControllerServer) SendMsg ¶
func (m_2 *MockFairnodeService_ProcessControllerServer) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockFairnodeService_ProcessControllerServer) SetHeader ¶
func (m *MockFairnodeService_ProcessControllerServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockFairnodeService_ProcessControllerServer) SetTrailer ¶
func (m *MockFairnodeService_ProcessControllerServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockFairnodeService_ProcessControllerServerMockRecorder ¶
type MockFairnodeService_ProcessControllerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeService_ProcessControllerServerMockRecorder is the mock recorder for MockFairnodeService_ProcessControllerServer.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) Context ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) RecvMsg ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) Send ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) SendHeader ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) SendMsg ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) SetHeader ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockFairnodeService_ProcessControllerServerMockRecorder) SetTrailer ¶
func (mr *MockFairnodeService_ProcessControllerServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockFairnodeService_SealConfirmClient ¶
type MockFairnodeService_SealConfirmClient struct {
// contains filtered or unexported fields
}
MockFairnodeService_SealConfirmClient is a mock of FairnodeService_SealConfirmClient interface.
func NewMockFairnodeService_SealConfirmClient ¶
func NewMockFairnodeService_SealConfirmClient(ctrl *gomock.Controller) *MockFairnodeService_SealConfirmClient
NewMockFairnodeService_SealConfirmClient creates a new mock instance.
func (*MockFairnodeService_SealConfirmClient) CloseSend ¶
func (m *MockFairnodeService_SealConfirmClient) CloseSend() error
CloseSend mocks base method.
func (*MockFairnodeService_SealConfirmClient) Context ¶
func (m *MockFairnodeService_SealConfirmClient) Context() context.Context
Context mocks base method.
func (*MockFairnodeService_SealConfirmClient) EXPECT ¶
func (m *MockFairnodeService_SealConfirmClient) EXPECT() *MockFairnodeService_SealConfirmClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeService_SealConfirmClient) Header ¶
func (m *MockFairnodeService_SealConfirmClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockFairnodeService_SealConfirmClient) Recv ¶
func (m *MockFairnodeService_SealConfirmClient) Recv() (*common.ResConfirmSeal, error)
Recv mocks base method.
func (*MockFairnodeService_SealConfirmClient) RecvMsg ¶
func (m_2 *MockFairnodeService_SealConfirmClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockFairnodeService_SealConfirmClient) SendMsg ¶
func (m_2 *MockFairnodeService_SealConfirmClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockFairnodeService_SealConfirmClient) Trailer ¶
func (m *MockFairnodeService_SealConfirmClient) Trailer() metadata.MD
Trailer mocks base method.
type MockFairnodeService_SealConfirmClientMockRecorder ¶
type MockFairnodeService_SealConfirmClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeService_SealConfirmClientMockRecorder is the mock recorder for MockFairnodeService_SealConfirmClient.
func (*MockFairnodeService_SealConfirmClientMockRecorder) CloseSend ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockFairnodeService_SealConfirmClientMockRecorder) Context ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFairnodeService_SealConfirmClientMockRecorder) Header ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockFairnodeService_SealConfirmClientMockRecorder) Recv ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockFairnodeService_SealConfirmClientMockRecorder) RecvMsg ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFairnodeService_SealConfirmClientMockRecorder) SendMsg ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFairnodeService_SealConfirmClientMockRecorder) Trailer ¶
func (mr *MockFairnodeService_SealConfirmClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockFairnodeService_SealConfirmServer ¶
type MockFairnodeService_SealConfirmServer struct {
// contains filtered or unexported fields
}
MockFairnodeService_SealConfirmServer is a mock of FairnodeService_SealConfirmServer interface.
func NewMockFairnodeService_SealConfirmServer ¶
func NewMockFairnodeService_SealConfirmServer(ctrl *gomock.Controller) *MockFairnodeService_SealConfirmServer
NewMockFairnodeService_SealConfirmServer creates a new mock instance.
func (*MockFairnodeService_SealConfirmServer) Context ¶
func (m *MockFairnodeService_SealConfirmServer) Context() context.Context
Context mocks base method.
func (*MockFairnodeService_SealConfirmServer) EXPECT ¶
func (m *MockFairnodeService_SealConfirmServer) EXPECT() *MockFairnodeService_SealConfirmServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeService_SealConfirmServer) RecvMsg ¶
func (m_2 *MockFairnodeService_SealConfirmServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockFairnodeService_SealConfirmServer) Send ¶
func (m *MockFairnodeService_SealConfirmServer) Send(arg0 *common.ResConfirmSeal) error
Send mocks base method.
func (*MockFairnodeService_SealConfirmServer) SendHeader ¶
func (m *MockFairnodeService_SealConfirmServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockFairnodeService_SealConfirmServer) SendMsg ¶
func (m_2 *MockFairnodeService_SealConfirmServer) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockFairnodeService_SealConfirmServer) SetHeader ¶
func (m *MockFairnodeService_SealConfirmServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockFairnodeService_SealConfirmServer) SetTrailer ¶
func (m *MockFairnodeService_SealConfirmServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockFairnodeService_SealConfirmServerMockRecorder ¶
type MockFairnodeService_SealConfirmServerMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeService_SealConfirmServerMockRecorder is the mock recorder for MockFairnodeService_SealConfirmServer.
func (*MockFairnodeService_SealConfirmServerMockRecorder) Context ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFairnodeService_SealConfirmServerMockRecorder) RecvMsg ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFairnodeService_SealConfirmServerMockRecorder) Send ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockFairnodeService_SealConfirmServerMockRecorder) SendHeader ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockFairnodeService_SealConfirmServerMockRecorder) SendMsg ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFairnodeService_SealConfirmServerMockRecorder) SetHeader ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockFairnodeService_SealConfirmServerMockRecorder) SetTrailer ¶
func (mr *MockFairnodeService_SealConfirmServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockFairnodeSyncServiceClient ¶ added in v0.8.1
type MockFairnodeSyncServiceClient struct {
// contains filtered or unexported fields
}
MockFairnodeSyncServiceClient is a mock of FairnodeSyncServiceClient interface.
func NewMockFairnodeSyncServiceClient ¶ added in v0.8.1
func NewMockFairnodeSyncServiceClient(ctrl *gomock.Controller) *MockFairnodeSyncServiceClient
NewMockFairnodeSyncServiceClient creates a new mock instance.
func (*MockFairnodeSyncServiceClient) EXPECT ¶ added in v0.8.1
func (m *MockFairnodeSyncServiceClient) EXPECT() *MockFairnodeSyncServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeSyncServiceClient) SyncController ¶ added in v0.8.1
func (m *MockFairnodeSyncServiceClient) SyncController(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (fairnode.FairnodeSyncService_SyncControllerClient, error)
SyncController mocks base method.
type MockFairnodeSyncServiceClientMockRecorder ¶ added in v0.8.1
type MockFairnodeSyncServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeSyncServiceClientMockRecorder is the mock recorder for MockFairnodeSyncServiceClient.
func (*MockFairnodeSyncServiceClientMockRecorder) SyncController ¶ added in v0.8.1
func (mr *MockFairnodeSyncServiceClientMockRecorder) SyncController(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyncController indicates an expected call of SyncController.
type MockFairnodeSyncServiceServer ¶ added in v0.8.1
type MockFairnodeSyncServiceServer struct {
// contains filtered or unexported fields
}
MockFairnodeSyncServiceServer is a mock of FairnodeSyncServiceServer interface.
func NewMockFairnodeSyncServiceServer ¶ added in v0.8.1
func NewMockFairnodeSyncServiceServer(ctrl *gomock.Controller) *MockFairnodeSyncServiceServer
NewMockFairnodeSyncServiceServer creates a new mock instance.
func (*MockFairnodeSyncServiceServer) EXPECT ¶ added in v0.8.1
func (m *MockFairnodeSyncServiceServer) EXPECT() *MockFairnodeSyncServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeSyncServiceServer) SyncController ¶ added in v0.8.1
func (m *MockFairnodeSyncServiceServer) SyncController(arg0 *emptypb.Empty, arg1 fairnode.FairnodeSyncService_SyncControllerServer) error
SyncController mocks base method.
type MockFairnodeSyncServiceServerMockRecorder ¶ added in v0.8.1
type MockFairnodeSyncServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeSyncServiceServerMockRecorder is the mock recorder for MockFairnodeSyncServiceServer.
func (*MockFairnodeSyncServiceServerMockRecorder) SyncController ¶ added in v0.8.1
func (mr *MockFairnodeSyncServiceServerMockRecorder) SyncController(arg0, arg1 interface{}) *gomock.Call
SyncController indicates an expected call of SyncController.
type MockFairnodeSyncService_SyncControllerClient ¶ added in v0.8.1
type MockFairnodeSyncService_SyncControllerClient struct {
// contains filtered or unexported fields
}
MockFairnodeSyncService_SyncControllerClient is a mock of FairnodeSyncService_SyncControllerClient interface.
func NewMockFairnodeSyncService_SyncControllerClient ¶ added in v0.8.1
func NewMockFairnodeSyncService_SyncControllerClient(ctrl *gomock.Controller) *MockFairnodeSyncService_SyncControllerClient
NewMockFairnodeSyncService_SyncControllerClient creates a new mock instance.
func (*MockFairnodeSyncService_SyncControllerClient) CloseSend ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerClient) CloseSend() error
CloseSend mocks base method.
func (*MockFairnodeSyncService_SyncControllerClient) Context ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerClient) Context() context.Context
Context mocks base method.
func (*MockFairnodeSyncService_SyncControllerClient) EXPECT ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerClient) EXPECT() *MockFairnodeSyncService_SyncControllerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeSyncService_SyncControllerClient) Header ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockFairnodeSyncService_SyncControllerClient) Recv ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerClient) Recv() (*common.FairnodeMessage, error)
Recv mocks base method.
func (*MockFairnodeSyncService_SyncControllerClient) RecvMsg ¶ added in v0.8.1
func (m_2 *MockFairnodeSyncService_SyncControllerClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockFairnodeSyncService_SyncControllerClient) SendMsg ¶ added in v0.8.1
func (m_2 *MockFairnodeSyncService_SyncControllerClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockFairnodeSyncService_SyncControllerClient) Trailer ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerClient) Trailer() metadata.MD
Trailer mocks base method.
type MockFairnodeSyncService_SyncControllerClientMockRecorder ¶ added in v0.8.1
type MockFairnodeSyncService_SyncControllerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeSyncService_SyncControllerClientMockRecorder is the mock recorder for MockFairnodeSyncService_SyncControllerClient.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) CloseSend ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) Context ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) Header ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) Recv ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) RecvMsg ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) SendMsg ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFairnodeSyncService_SyncControllerClientMockRecorder) Trailer ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockFairnodeSyncService_SyncControllerServer ¶ added in v0.8.1
type MockFairnodeSyncService_SyncControllerServer struct {
// contains filtered or unexported fields
}
MockFairnodeSyncService_SyncControllerServer is a mock of FairnodeSyncService_SyncControllerServer interface.
func NewMockFairnodeSyncService_SyncControllerServer ¶ added in v0.8.1
func NewMockFairnodeSyncService_SyncControllerServer(ctrl *gomock.Controller) *MockFairnodeSyncService_SyncControllerServer
NewMockFairnodeSyncService_SyncControllerServer creates a new mock instance.
func (*MockFairnodeSyncService_SyncControllerServer) Context ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerServer) Context() context.Context
Context mocks base method.
func (*MockFairnodeSyncService_SyncControllerServer) EXPECT ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerServer) EXPECT() *MockFairnodeSyncService_SyncControllerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFairnodeSyncService_SyncControllerServer) RecvMsg ¶ added in v0.8.1
func (m_2 *MockFairnodeSyncService_SyncControllerServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockFairnodeSyncService_SyncControllerServer) Send ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerServer) Send(arg0 *common.FairnodeMessage) error
Send mocks base method.
func (*MockFairnodeSyncService_SyncControllerServer) SendHeader ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockFairnodeSyncService_SyncControllerServer) SendMsg ¶ added in v0.8.1
func (m_2 *MockFairnodeSyncService_SyncControllerServer) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockFairnodeSyncService_SyncControllerServer) SetHeader ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockFairnodeSyncService_SyncControllerServer) SetTrailer ¶ added in v0.8.1
func (m *MockFairnodeSyncService_SyncControllerServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockFairnodeSyncService_SyncControllerServerMockRecorder ¶ added in v0.8.1
type MockFairnodeSyncService_SyncControllerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockFairnodeSyncService_SyncControllerServerMockRecorder is the mock recorder for MockFairnodeSyncService_SyncControllerServer.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) Context ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) RecvMsg ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) Send ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) SendHeader ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) SendMsg ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) SetHeader ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockFairnodeSyncService_SyncControllerServerMockRecorder) SetTrailer ¶ added in v0.8.1
func (mr *MockFairnodeSyncService_SyncControllerServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockUnsafeFairnodeServiceServer ¶ added in v0.8.1
type MockUnsafeFairnodeServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeFairnodeServiceServer is a mock of UnsafeFairnodeServiceServer interface.
func NewMockUnsafeFairnodeServiceServer ¶ added in v0.8.1
func NewMockUnsafeFairnodeServiceServer(ctrl *gomock.Controller) *MockUnsafeFairnodeServiceServer
NewMockUnsafeFairnodeServiceServer creates a new mock instance.
func (*MockUnsafeFairnodeServiceServer) EXPECT ¶ added in v0.8.1
func (m *MockUnsafeFairnodeServiceServer) EXPECT() *MockUnsafeFairnodeServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeFairnodeServiceServerMockRecorder ¶ added in v0.8.1
type MockUnsafeFairnodeServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeFairnodeServiceServerMockRecorder is the mock recorder for MockUnsafeFairnodeServiceServer.
type MockUnsafeFairnodeSyncServiceServer ¶ added in v0.8.1
type MockUnsafeFairnodeSyncServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeFairnodeSyncServiceServer is a mock of UnsafeFairnodeSyncServiceServer interface.
func NewMockUnsafeFairnodeSyncServiceServer ¶ added in v0.8.1
func NewMockUnsafeFairnodeSyncServiceServer(ctrl *gomock.Controller) *MockUnsafeFairnodeSyncServiceServer
NewMockUnsafeFairnodeSyncServiceServer creates a new mock instance.
func (*MockUnsafeFairnodeSyncServiceServer) EXPECT ¶ added in v0.8.1
func (m *MockUnsafeFairnodeSyncServiceServer) EXPECT() *MockUnsafeFairnodeSyncServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeFairnodeSyncServiceServerMockRecorder ¶ added in v0.8.1
type MockUnsafeFairnodeSyncServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeFairnodeSyncServiceServerMockRecorder is the mock recorder for MockUnsafeFairnodeSyncServiceServer.