2018-09-27 02:34:35 +00:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2019-03-26 14:03:05 +00:00
|
|
|
// Source: github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1 (interfaces: ValidatorServiceServer)
|
2018-09-27 02:34:35 +00:00
|
|
|
|
|
|
|
package internal
|
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
|
|
|
reflect "reflect"
|
|
|
|
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
|
|
v1 "github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1"
|
|
|
|
)
|
|
|
|
|
2019-03-05 23:06:50 +00:00
|
|
|
// MockValidatorServiceServer is a mock of ValidatorServiceServer interface
|
|
|
|
type MockValidatorServiceServer struct {
|
2018-09-27 02:34:35 +00:00
|
|
|
ctrl *gomock.Controller
|
2019-03-05 23:06:50 +00:00
|
|
|
recorder *MockValidatorServiceServerMockRecorder
|
2018-09-27 02:34:35 +00:00
|
|
|
}
|
|
|
|
|
2019-03-05 23:06:50 +00:00
|
|
|
// MockValidatorServiceServerMockRecorder is the mock recorder for MockValidatorServiceServer
|
|
|
|
type MockValidatorServiceServerMockRecorder struct {
|
|
|
|
mock *MockValidatorServiceServer
|
2018-09-27 02:34:35 +00:00
|
|
|
}
|
|
|
|
|
2019-03-05 23:06:50 +00:00
|
|
|
// NewMockValidatorServiceServer creates a new mock instance
|
|
|
|
func NewMockValidatorServiceServer(ctrl *gomock.Controller) *MockValidatorServiceServer {
|
|
|
|
mock := &MockValidatorServiceServer{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockValidatorServiceServerMockRecorder{mock}
|
2018-09-27 02:34:35 +00:00
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
2019-03-05 23:06:50 +00:00
|
|
|
func (m *MockValidatorServiceServer) EXPECT() *MockValidatorServiceServerMockRecorder {
|
2018-09-27 02:34:35 +00:00
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2019-03-05 23:06:50 +00:00
|
|
|
// CommitteeAssignment mocks base method
|
2019-03-24 00:46:25 +00:00
|
|
|
func (m *MockValidatorServiceServer) CommitteeAssignment(arg0 context.Context, arg1 *v1.CommitteeAssignmentsRequest) (*v1.CommitteeAssignmentResponse, error) {
|
2019-03-05 23:06:50 +00:00
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "CommitteeAssignment", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*v1.CommitteeAssignmentResponse)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// CommitteeAssignment indicates an expected call of CommitteeAssignment
|
|
|
|
func (mr *MockValidatorServiceServerMockRecorder) CommitteeAssignment(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CommitteeAssignment", reflect.TypeOf((*MockValidatorServiceServer)(nil).CommitteeAssignment), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
2019-01-28 19:41:04 +00:00
|
|
|
// ValidatorIndex mocks base method
|
2019-03-05 23:06:50 +00:00
|
|
|
func (m *MockValidatorServiceServer) ValidatorIndex(arg0 context.Context, arg1 *v1.ValidatorIndexRequest) (*v1.ValidatorIndexResponse, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "ValidatorIndex", arg0, arg1)
|
2019-01-28 19:41:04 +00:00
|
|
|
ret0, _ := ret[0].(*v1.ValidatorIndexResponse)
|
2018-09-27 02:34:35 +00:00
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
2019-01-28 19:41:04 +00:00
|
|
|
// ValidatorIndex indicates an expected call of ValidatorIndex
|
2019-03-05 23:06:50 +00:00
|
|
|
func (mr *MockValidatorServiceServerMockRecorder) ValidatorIndex(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorIndex", reflect.TypeOf((*MockValidatorServiceServer)(nil).ValidatorIndex), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
2019-03-24 00:46:25 +00:00
|
|
|
// ValidatorPerformance mocks base method
|
|
|
|
func (m *MockValidatorServiceServer) ValidatorPerformance(arg0 context.Context, arg1 *v1.ValidatorPerformanceRequest) (*v1.ValidatorPerformanceResponse, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "ValidatorPerformance", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*v1.ValidatorPerformanceResponse)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ValidatorPerformance indicates an expected call of ValidatorPerformance
|
|
|
|
func (mr *MockValidatorServiceServerMockRecorder) ValidatorPerformance(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorPerformance", reflect.TypeOf((*MockValidatorServiceServer)(nil).ValidatorPerformance), arg0, arg1)
|
|
|
|
}
|
|
|
|
|
2019-03-05 23:06:50 +00:00
|
|
|
// ValidatorStatus mocks base method
|
|
|
|
func (m *MockValidatorServiceServer) ValidatorStatus(arg0 context.Context, arg1 *v1.ValidatorIndexRequest) (*v1.ValidatorStatusResponse, error) {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "ValidatorStatus", arg0, arg1)
|
|
|
|
ret0, _ := ret[0].(*v1.ValidatorStatusResponse)
|
|
|
|
ret1, _ := ret[1].(error)
|
|
|
|
return ret0, ret1
|
|
|
|
}
|
|
|
|
|
|
|
|
// ValidatorStatus indicates an expected call of ValidatorStatus
|
|
|
|
func (mr *MockValidatorServiceServerMockRecorder) ValidatorStatus(arg0, arg1 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorStatus", reflect.TypeOf((*MockValidatorServiceServer)(nil).ValidatorStatus), arg0, arg1)
|
|
|
|
}
|