// Code generated by MockGen. DO NOT EDIT. // Source: github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1 (interfaces: AttesterServiceClient) package internal import ( context "context" reflect "reflect" gomock "github.com/golang/mock/gomock" v1 "github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1" grpc "google.golang.org/grpc" ) // MockAttesterServiceClient is a mock of AttesterServiceClient interface type MockAttesterServiceClient struct { ctrl *gomock.Controller recorder *MockAttesterServiceClientMockRecorder } // MockAttesterServiceClientMockRecorder is the mock recorder for MockAttesterServiceClient type MockAttesterServiceClientMockRecorder struct { mock *MockAttesterServiceClient } // NewMockAttesterServiceClient creates a new mock instance func NewMockAttesterServiceClient(ctrl *gomock.Controller) *MockAttesterServiceClient { mock := &MockAttesterServiceClient{ctrl: ctrl} mock.recorder = &MockAttesterServiceClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockAttesterServiceClient) EXPECT() *MockAttesterServiceClientMockRecorder { return m.recorder } // AttestHead mocks base method func (m *MockAttesterServiceClient) AttestHead(arg0 context.Context, arg1 *v1.AttestRequest, arg2 ...grpc.CallOption) (*v1.AttestResponse, error) { varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "AttestHead", varargs...) ret0, _ := ret[0].(*v1.AttestResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // AttestHead indicates an expected call of AttestHead func (mr *MockAttesterServiceClientMockRecorder) AttestHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttestHead", reflect.TypeOf((*MockAttesterServiceClient)(nil).AttestHead), varargs...) } // MockValidatorServiceClient is a mock of ValidatorServiceClient interface type MockValidatorServiceClient struct { ctrl *gomock.Controller recorder *MockValidatorServiceClientMockRecorder } // MockValidatorServiceClientMockRecorder is the mock recorder for MockValidatorServiceClient type MockValidatorServiceClientMockRecorder struct { mock *MockValidatorServiceClient } // NewMockValidatorServiceClient creates a new mock instance func NewMockValidatorServiceClient(ctrl *gomock.Controller) *MockValidatorServiceClient { mock := &MockValidatorServiceClient{ctrl: ctrl} mock.recorder = &MockValidatorServiceClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockValidatorServiceClient) EXPECT() *MockValidatorServiceClientMockRecorder { return m.recorder } // ValidatorIndex mocks base method func (m *MockValidatorServiceClient) ValidatorIndex(arg0 context.Context, arg1 *v1.PublicKey, arg2 ...grpc.CallOption) (*v1.IndexResponse, error) { varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "ValidatorIndex", varargs...) ret0, _ := ret[0].(*v1.IndexResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // ValidatorIndex indicates an expected call of ValidatorIndex func (mr *MockValidatorServiceClientMockRecorder) ValidatorIndex(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorIndex", reflect.TypeOf((*MockValidatorServiceClient)(nil).ValidatorIndex), varargs...) } // ValidatorShardID mocks base method func (m *MockValidatorServiceClient) ValidatorShardID(arg0 context.Context, arg1 *v1.PublicKey, arg2 ...grpc.CallOption) (*v1.ShardIDResponse, error) { varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "ValidatorShardID", varargs...) ret0, _ := ret[0].(*v1.ShardIDResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // ValidatorShardID indicates an expected call of ValidatorShardID func (mr *MockValidatorServiceClientMockRecorder) ValidatorShardID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorShardID", reflect.TypeOf((*MockValidatorServiceClient)(nil).ValidatorShardID), varargs...) } // ValidatorSlot mocks base method func (m *MockValidatorServiceClient) ValidatorSlot(arg0 context.Context, arg1 *v1.PublicKey, arg2 ...grpc.CallOption) (*v1.SlotResponse, error) { varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "ValidatorSlot", varargs...) ret0, _ := ret[0].(*v1.SlotResponse) ret1, _ := ret[1].(error) return ret0, ret1 } // ValidatorSlot indicates an expected call of ValidatorSlot func (mr *MockValidatorServiceClientMockRecorder) ValidatorSlot(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorSlot", reflect.TypeOf((*MockValidatorServiceClient)(nil).ValidatorSlot), varargs...) }