mock

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockbeaconBlockConverter added in v3.2.2

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

MockbeaconBlockConverter is a mock of beaconBlockConverter interface.

func NewMockbeaconBlockConverter added in v3.2.2

func NewMockbeaconBlockConverter(ctrl *gomock.Controller) *MockbeaconBlockConverter

NewMockbeaconBlockConverter creates a new mock instance.

func (*MockbeaconBlockConverter) ConvertRESTAltairBlockToProto added in v3.2.2

func (m *MockbeaconBlockConverter) ConvertRESTAltairBlockToProto(block *apimiddleware.BeaconBlockAltairJson) (*eth.BeaconBlockAltair, error)

ConvertRESTAltairBlockToProto mocks base method.

func (*MockbeaconBlockConverter) ConvertRESTBellatrixBlockToProto added in v3.2.2

func (m *MockbeaconBlockConverter) ConvertRESTBellatrixBlockToProto(block *apimiddleware.BeaconBlockBellatrixJson) (*eth.BeaconBlockBellatrix, error)

ConvertRESTBellatrixBlockToProto mocks base method.

func (*MockbeaconBlockConverter) ConvertRESTCapellaBlockToProto added in v3.2.2

func (m *MockbeaconBlockConverter) ConvertRESTCapellaBlockToProto(block *apimiddleware.BeaconBlockCapellaJson) (*eth.BeaconBlockCapella, error)

ConvertRESTCapellaBlockToProto mocks base method.

func (*MockbeaconBlockConverter) ConvertRESTPhase0BlockToProto added in v3.2.2

func (m *MockbeaconBlockConverter) ConvertRESTPhase0BlockToProto(block *apimiddleware.BeaconBlockJson) (*eth.BeaconBlock, error)

ConvertRESTPhase0BlockToProto mocks base method.

func (*MockbeaconBlockConverter) EXPECT added in v3.2.2

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

type MockbeaconBlockConverterMockRecorder added in v3.2.2

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

MockbeaconBlockConverterMockRecorder is the mock recorder for MockbeaconBlockConverter.

func (*MockbeaconBlockConverterMockRecorder) ConvertRESTAltairBlockToProto added in v3.2.2

func (mr *MockbeaconBlockConverterMockRecorder) ConvertRESTAltairBlockToProto(block interface{}) *gomock.Call

ConvertRESTAltairBlockToProto indicates an expected call of ConvertRESTAltairBlockToProto.

func (*MockbeaconBlockConverterMockRecorder) ConvertRESTBellatrixBlockToProto added in v3.2.2

func (mr *MockbeaconBlockConverterMockRecorder) ConvertRESTBellatrixBlockToProto(block interface{}) *gomock.Call

ConvertRESTBellatrixBlockToProto indicates an expected call of ConvertRESTBellatrixBlockToProto.

func (*MockbeaconBlockConverterMockRecorder) ConvertRESTCapellaBlockToProto added in v3.2.2

func (mr *MockbeaconBlockConverterMockRecorder) ConvertRESTCapellaBlockToProto(block interface{}) *gomock.Call

ConvertRESTCapellaBlockToProto indicates an expected call of ConvertRESTCapellaBlockToProto.

func (*MockbeaconBlockConverterMockRecorder) ConvertRESTPhase0BlockToProto added in v3.2.2

func (mr *MockbeaconBlockConverterMockRecorder) ConvertRESTPhase0BlockToProto(block interface{}) *gomock.Call

ConvertRESTPhase0BlockToProto indicates an expected call of ConvertRESTPhase0BlockToProto.

type MockdutiesProvider added in v3.2.1

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

MockdutiesProvider is a mock of dutiesProvider interface.

func NewMockdutiesProvider added in v3.2.1

func NewMockdutiesProvider(ctrl *gomock.Controller) *MockdutiesProvider

NewMockdutiesProvider creates a new mock instance.

func (*MockdutiesProvider) EXPECT added in v3.2.1

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

func (*MockdutiesProvider) GetAttesterDuties added in v3.2.1

func (m *MockdutiesProvider) GetAttesterDuties(ctx context.Context, epoch primitives.Epoch, validatorIndices []primitives.ValidatorIndex) ([]*apimiddleware.AttesterDutyJson, error)

GetAttesterDuties mocks base method.

func (*MockdutiesProvider) GetCommittees added in v3.2.1

GetCommittees mocks base method.

func (*MockdutiesProvider) GetProposerDuties added in v3.2.1

func (m *MockdutiesProvider) GetProposerDuties(ctx context.Context, epoch primitives.Epoch) ([]*apimiddleware.ProposerDutyJson, error)

GetProposerDuties mocks base method.

func (*MockdutiesProvider) GetSyncDuties added in v3.2.1

func (m *MockdutiesProvider) GetSyncDuties(ctx context.Context, epoch primitives.Epoch, validatorIndices []primitives.ValidatorIndex) ([]*apimiddleware.SyncCommitteeDuty, error)

GetSyncDuties mocks base method.

type MockdutiesProviderMockRecorder added in v3.2.1

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

MockdutiesProviderMockRecorder is the mock recorder for MockdutiesProvider.

func (*MockdutiesProviderMockRecorder) GetAttesterDuties added in v3.2.1

func (mr *MockdutiesProviderMockRecorder) GetAttesterDuties(ctx, epoch, validatorIndices interface{}) *gomock.Call

GetAttesterDuties indicates an expected call of GetAttesterDuties.

func (*MockdutiesProviderMockRecorder) GetCommittees added in v3.2.1

func (mr *MockdutiesProviderMockRecorder) GetCommittees(ctx, epoch interface{}) *gomock.Call

GetCommittees indicates an expected call of GetCommittees.

func (*MockdutiesProviderMockRecorder) GetProposerDuties added in v3.2.1

func (mr *MockdutiesProviderMockRecorder) GetProposerDuties(ctx, epoch interface{}) *gomock.Call

GetProposerDuties indicates an expected call of GetProposerDuties.

func (*MockdutiesProviderMockRecorder) GetSyncDuties added in v3.2.1

func (mr *MockdutiesProviderMockRecorder) GetSyncDuties(ctx, epoch, validatorIndices interface{}) *gomock.Call

GetSyncDuties indicates an expected call of GetSyncDuties.

type MockgenesisProvider

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

MockgenesisProvider is a mock of genesisProvider interface.

func NewMockgenesisProvider

func NewMockgenesisProvider(ctrl *gomock.Controller) *MockgenesisProvider

NewMockgenesisProvider creates a new mock instance.

func (*MockgenesisProvider) EXPECT

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

func (*MockgenesisProvider) GetGenesis

GetGenesis mocks base method.

type MockgenesisProviderMockRecorder

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

MockgenesisProviderMockRecorder is the mock recorder for MockgenesisProvider.

func (*MockgenesisProviderMockRecorder) GetGenesis

func (mr *MockgenesisProviderMockRecorder) GetGenesis(ctx interface{}) *gomock.Call

GetGenesis indicates an expected call of GetGenesis.

type MockjsonRestHandler

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

MockjsonRestHandler is a mock of jsonRestHandler interface.

func NewMockjsonRestHandler

func NewMockjsonRestHandler(ctrl *gomock.Controller) *MockjsonRestHandler

NewMockjsonRestHandler creates a new mock instance.

func (*MockjsonRestHandler) EXPECT

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

func (*MockjsonRestHandler) GetRestJsonResponse

func (m *MockjsonRestHandler) GetRestJsonResponse(ctx context.Context, query string, responseJson interface{}) (*apimiddleware.DefaultErrorJson, error)

GetRestJsonResponse mocks base method.

func (*MockjsonRestHandler) PostRestJson added in v3.2.1

func (m *MockjsonRestHandler) PostRestJson(ctx context.Context, apiEndpoint string, headers map[string]string, data *bytes.Buffer, responseJson interface{}) (*apimiddleware.DefaultErrorJson, error)

PostRestJson mocks base method.

type MockjsonRestHandlerMockRecorder

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

MockjsonRestHandlerMockRecorder is the mock recorder for MockjsonRestHandler.

func (*MockjsonRestHandlerMockRecorder) GetRestJsonResponse

func (mr *MockjsonRestHandlerMockRecorder) GetRestJsonResponse(ctx, query, responseJson interface{}) *gomock.Call

GetRestJsonResponse indicates an expected call of GetRestJsonResponse.

func (*MockjsonRestHandlerMockRecorder) PostRestJson added in v3.2.1

func (mr *MockjsonRestHandlerMockRecorder) PostRestJson(ctx, apiEndpoint, headers, data, responseJson interface{}) *gomock.Call

PostRestJson indicates an expected call of PostRestJson.

type MockstateValidatorsProvider added in v3.2.1

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

MockstateValidatorsProvider is a mock of stateValidatorsProvider interface.

func NewMockstateValidatorsProvider added in v3.2.1

func NewMockstateValidatorsProvider(ctrl *gomock.Controller) *MockstateValidatorsProvider

NewMockstateValidatorsProvider creates a new mock instance.

func (*MockstateValidatorsProvider) EXPECT added in v3.2.1

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

func (*MockstateValidatorsProvider) GetStateValidators added in v3.2.1

func (m *MockstateValidatorsProvider) GetStateValidators(arg0 context.Context, arg1 []string, arg2 []int64, arg3 []string) (*apimiddleware.StateValidatorsResponseJson, error)

GetStateValidators mocks base method.

type MockstateValidatorsProviderMockRecorder added in v3.2.1

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

MockstateValidatorsProviderMockRecorder is the mock recorder for MockstateValidatorsProvider.

func (*MockstateValidatorsProviderMockRecorder) GetStateValidators added in v3.2.1

func (mr *MockstateValidatorsProviderMockRecorder) GetStateValidators(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetStateValidators indicates an expected call of GetStateValidators.

Jump to

Keyboard shortcuts

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