mock_services

package
v1.9.7-0...-acf8c2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAggregationPool

type MockAggregationPool struct {
	// contains filtered or unexported fields
}

MockAggregationPool is a mock of AggregationPool interface.

func NewMockAggregationPool

func NewMockAggregationPool(ctrl *gomock.Controller) *MockAggregationPool

NewMockAggregationPool creates a new mock instance.

func (*MockAggregationPool) AddAttestation

func (m *MockAggregationPool) AddAttestation(att *solid.Attestation) error

AddAttestation mocks base method.

func (*MockAggregationPool) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAggregationPool) GetAggregatationByRoot

func (m *MockAggregationPool) GetAggregatationByRoot(root common.Hash) *solid.Attestation

GetAggregatationByRoot mocks base method.

func (*MockAggregationPool) GetAggregatationByRootAndCommittee

func (m *MockAggregationPool) GetAggregatationByRootAndCommittee(root common.Hash, committeeIndex uint64) *solid.Attestation

GetAggregatationByRootAndCommittee mocks base method.

type MockAggregationPoolAddAttestationCall

type MockAggregationPoolAddAttestationCall struct {
	*gomock.Call
}

MockAggregationPoolAddAttestationCall wrap *gomock.Call

func (*MockAggregationPoolAddAttestationCall) Do

Do rewrite *gomock.Call.Do

func (*MockAggregationPoolAddAttestationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAggregationPoolAddAttestationCall) Return

Return rewrite *gomock.Call.Return

type MockAggregationPoolGetAggregatationByRootAndCommitteeCall

type MockAggregationPoolGetAggregatationByRootAndCommitteeCall struct {
	*gomock.Call
}

MockAggregationPoolGetAggregatationByRootAndCommitteeCall wrap *gomock.Call

func (*MockAggregationPoolGetAggregatationByRootAndCommitteeCall) Do

Do rewrite *gomock.Call.Do

func (*MockAggregationPoolGetAggregatationByRootAndCommitteeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAggregationPoolGetAggregatationByRootAndCommitteeCall) Return

Return rewrite *gomock.Call.Return

type MockAggregationPoolGetAggregatationByRootCall

type MockAggregationPoolGetAggregatationByRootCall struct {
	*gomock.Call
}

MockAggregationPoolGetAggregatationByRootCall wrap *gomock.Call

func (*MockAggregationPoolGetAggregatationByRootCall) Do

Do rewrite *gomock.Call.Do

func (*MockAggregationPoolGetAggregatationByRootCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockAggregationPoolGetAggregatationByRootCall) Return

Return rewrite *gomock.Call.Return

type MockAggregationPoolMockRecorder

type MockAggregationPoolMockRecorder struct {
	// contains filtered or unexported fields
}

MockAggregationPoolMockRecorder is the mock recorder for MockAggregationPool.

func (*MockAggregationPoolMockRecorder) AddAttestation

AddAttestation indicates an expected call of AddAttestation.

func (*MockAggregationPoolMockRecorder) GetAggregatationByRoot

GetAggregatationByRoot indicates an expected call of GetAggregatationByRoot.

func (*MockAggregationPoolMockRecorder) GetAggregatationByRootAndCommittee

func (mr *MockAggregationPoolMockRecorder) GetAggregatationByRootAndCommittee(root, committeeIndex any) *MockAggregationPoolGetAggregatationByRootAndCommitteeCall

GetAggregatationByRootAndCommittee indicates an expected call of GetAggregatationByRootAndCommittee.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL