Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockCommitteeSubscribe
- func (m *MockCommitteeSubscribe) AddAttestationSubscription(ctx context.Context, p *cltypes.BeaconCommitteeSubscription) error
- func (m *MockCommitteeSubscribe) AggregateAttestation(att *solid.Attestation) error
- func (m *MockCommitteeSubscribe) EXPECT() *MockCommitteeSubscribeMockRecorder
- func (m *MockCommitteeSubscribe) NeedToAggregate(att *solid.Attestation) bool
- type MockCommitteeSubscribeAddAttestationSubscriptionCall
- func (c *MockCommitteeSubscribeAddAttestationSubscriptionCall) Do(f func(context.Context, *cltypes.BeaconCommitteeSubscription) error) *MockCommitteeSubscribeAddAttestationSubscriptionCall
- func (c *MockCommitteeSubscribeAddAttestationSubscriptionCall) DoAndReturn(f func(context.Context, *cltypes.BeaconCommitteeSubscription) error) *MockCommitteeSubscribeAddAttestationSubscriptionCall
- func (c *MockCommitteeSubscribeAddAttestationSubscriptionCall) Return(arg0 error) *MockCommitteeSubscribeAddAttestationSubscriptionCall
- type MockCommitteeSubscribeAggregateAttestationCall
- func (c *MockCommitteeSubscribeAggregateAttestationCall) Do(f func(*solid.Attestation) error) *MockCommitteeSubscribeAggregateAttestationCall
- func (c *MockCommitteeSubscribeAggregateAttestationCall) DoAndReturn(f func(*solid.Attestation) error) *MockCommitteeSubscribeAggregateAttestationCall
- func (c *MockCommitteeSubscribeAggregateAttestationCall) Return(arg0 error) *MockCommitteeSubscribeAggregateAttestationCall
- type MockCommitteeSubscribeMockRecorder
- func (mr *MockCommitteeSubscribeMockRecorder) AddAttestationSubscription(ctx, p any) *MockCommitteeSubscribeAddAttestationSubscriptionCall
- func (mr *MockCommitteeSubscribeMockRecorder) AggregateAttestation(att any) *MockCommitteeSubscribeAggregateAttestationCall
- func (mr *MockCommitteeSubscribeMockRecorder) NeedToAggregate(att any) *MockCommitteeSubscribeNeedToAggregateCall
- type MockCommitteeSubscribeNeedToAggregateCall
- func (c *MockCommitteeSubscribeNeedToAggregateCall) Do(f func(*solid.Attestation) bool) *MockCommitteeSubscribeNeedToAggregateCall
- func (c *MockCommitteeSubscribeNeedToAggregateCall) DoAndReturn(f func(*solid.Attestation) bool) *MockCommitteeSubscribeNeedToAggregateCall
- func (c *MockCommitteeSubscribeNeedToAggregateCall) Return(arg0 bool) *MockCommitteeSubscribeNeedToAggregateCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommitteeSubscribe ¶
type MockCommitteeSubscribe struct {
// contains filtered or unexported fields
}
MockCommitteeSubscribe is a mock of CommitteeSubscribe interface.
func NewMockCommitteeSubscribe ¶
func NewMockCommitteeSubscribe(ctrl *gomock.Controller) *MockCommitteeSubscribe
NewMockCommitteeSubscribe creates a new mock instance.
func (*MockCommitteeSubscribe) AddAttestationSubscription ¶
func (m *MockCommitteeSubscribe) AddAttestationSubscription(ctx context.Context, p *cltypes.BeaconCommitteeSubscription) error
AddAttestationSubscription mocks base method.
func (*MockCommitteeSubscribe) AggregateAttestation ¶
func (m *MockCommitteeSubscribe) AggregateAttestation(att *solid.Attestation) error
AggregateAttestation mocks base method.
func (*MockCommitteeSubscribe) EXPECT ¶
func (m *MockCommitteeSubscribe) EXPECT() *MockCommitteeSubscribeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitteeSubscribe) NeedToAggregate ¶
func (m *MockCommitteeSubscribe) NeedToAggregate(att *solid.Attestation) bool
NeedToAggregate mocks base method.
type MockCommitteeSubscribeAddAttestationSubscriptionCall ¶
MockCommitteeSubscribeAddAttestationSubscriptionCall wrap *gomock.Call
func (*MockCommitteeSubscribeAddAttestationSubscriptionCall) Do ¶
func (c *MockCommitteeSubscribeAddAttestationSubscriptionCall) Do(f func(context.Context, *cltypes.BeaconCommitteeSubscription) error) *MockCommitteeSubscribeAddAttestationSubscriptionCall
Do rewrite *gomock.Call.Do
func (*MockCommitteeSubscribeAddAttestationSubscriptionCall) DoAndReturn ¶
func (c *MockCommitteeSubscribeAddAttestationSubscriptionCall) DoAndReturn(f func(context.Context, *cltypes.BeaconCommitteeSubscription) error) *MockCommitteeSubscribeAddAttestationSubscriptionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCommitteeSubscribeAddAttestationSubscriptionCall) Return ¶
func (c *MockCommitteeSubscribeAddAttestationSubscriptionCall) Return(arg0 error) *MockCommitteeSubscribeAddAttestationSubscriptionCall
Return rewrite *gomock.Call.Return
type MockCommitteeSubscribeAggregateAttestationCall ¶
MockCommitteeSubscribeAggregateAttestationCall wrap *gomock.Call
func (*MockCommitteeSubscribeAggregateAttestationCall) Do ¶
func (c *MockCommitteeSubscribeAggregateAttestationCall) Do(f func(*solid.Attestation) error) *MockCommitteeSubscribeAggregateAttestationCall
Do rewrite *gomock.Call.Do
func (*MockCommitteeSubscribeAggregateAttestationCall) DoAndReturn ¶
func (c *MockCommitteeSubscribeAggregateAttestationCall) DoAndReturn(f func(*solid.Attestation) error) *MockCommitteeSubscribeAggregateAttestationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCommitteeSubscribeAggregateAttestationCall) Return ¶
func (c *MockCommitteeSubscribeAggregateAttestationCall) Return(arg0 error) *MockCommitteeSubscribeAggregateAttestationCall
Return rewrite *gomock.Call.Return
type MockCommitteeSubscribeMockRecorder ¶
type MockCommitteeSubscribeMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitteeSubscribeMockRecorder is the mock recorder for MockCommitteeSubscribe.
func (*MockCommitteeSubscribeMockRecorder) AddAttestationSubscription ¶
func (mr *MockCommitteeSubscribeMockRecorder) AddAttestationSubscription(ctx, p any) *MockCommitteeSubscribeAddAttestationSubscriptionCall
AddAttestationSubscription indicates an expected call of AddAttestationSubscription.
func (*MockCommitteeSubscribeMockRecorder) AggregateAttestation ¶
func (mr *MockCommitteeSubscribeMockRecorder) AggregateAttestation(att any) *MockCommitteeSubscribeAggregateAttestationCall
AggregateAttestation indicates an expected call of AggregateAttestation.
func (*MockCommitteeSubscribeMockRecorder) NeedToAggregate ¶
func (mr *MockCommitteeSubscribeMockRecorder) NeedToAggregate(att any) *MockCommitteeSubscribeNeedToAggregateCall
NeedToAggregate indicates an expected call of NeedToAggregate.
type MockCommitteeSubscribeNeedToAggregateCall ¶
MockCommitteeSubscribeNeedToAggregateCall wrap *gomock.Call
func (*MockCommitteeSubscribeNeedToAggregateCall) Do ¶
func (c *MockCommitteeSubscribeNeedToAggregateCall) Do(f func(*solid.Attestation) bool) *MockCommitteeSubscribeNeedToAggregateCall
Do rewrite *gomock.Call.Do
func (*MockCommitteeSubscribeNeedToAggregateCall) DoAndReturn ¶
func (c *MockCommitteeSubscribeNeedToAggregateCall) DoAndReturn(f func(*solid.Attestation) bool) *MockCommitteeSubscribeNeedToAggregateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCommitteeSubscribeNeedToAggregateCall) Return ¶
func (c *MockCommitteeSubscribeNeedToAggregateCall) Return(arg0 bool) *MockCommitteeSubscribeNeedToAggregateCall
Return rewrite *gomock.Call.Return