mock

package
v3.2.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: GPL-3.0 Imports: 7 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 types.Epoch, validatorIndices []types.ValidatorIndex) ([]*apimiddleware.AttesterDutyJson, error)

GetAttesterDuties mocks base method.

func (*MockdutiesProvider) GetCommittees added in v3.2.1

func (m *MockdutiesProvider) GetCommittees(ctx context.Context, epoch types.Epoch) ([]*apimiddleware.CommitteeJson, error)

GetCommittees mocks base method.

func (*MockdutiesProvider) GetProposerDuties added in v3.2.1

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

GetProposerDuties mocks base method.

func (*MockdutiesProvider) GetSyncDuties added in v3.2.1

func (m *MockdutiesProvider) GetSyncDuties(ctx context.Context, epoch types.Epoch, validatorIndices []types.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