mocks

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEthConfirmations

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

MockEthConfirmations is a mock of EthConfirmations interface.

func NewMockEthConfirmations

func NewMockEthConfirmations(ctrl *gomock.Controller) *MockEthConfirmations

NewMockEthConfirmations creates a new mock instance.

func (*MockEthConfirmations) Check

func (m *MockEthConfirmations) Check(arg0 uint64) error

Check mocks base method.

func (*MockEthConfirmations) EXPECT

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

type MockEthConfirmationsMockRecorder

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

MockEthConfirmationsMockRecorder is the mock recorder for MockEthConfirmations.

func (*MockEthConfirmationsMockRecorder) Check

func (mr *MockEthConfirmationsMockRecorder) Check(arg0 interface{}) *gomock.Call

Check indicates an expected call of Check.

type MockEthOnChainVerifier

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

MockEthOnChainVerifier is a mock of EthOnChainVerifier interface.

func NewMockEthOnChainVerifier

func NewMockEthOnChainVerifier(ctrl *gomock.Controller) *MockEthOnChainVerifier

NewMockEthOnChainVerifier creates a new mock instance.

func (*MockEthOnChainVerifier) CheckStakeDeposited

func (m *MockEthOnChainVerifier) CheckStakeDeposited(arg0 *types.StakeDeposited) error

CheckStakeDeposited mocks base method.

func (*MockEthOnChainVerifier) CheckStakeRemoved

func (m *MockEthOnChainVerifier) CheckStakeRemoved(arg0 *types.StakeRemoved) error

CheckStakeRemoved mocks base method.

func (*MockEthOnChainVerifier) EXPECT

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

type MockEthOnChainVerifierMockRecorder

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

MockEthOnChainVerifierMockRecorder is the mock recorder for MockEthOnChainVerifier.

func (*MockEthOnChainVerifierMockRecorder) CheckStakeDeposited

func (mr *MockEthOnChainVerifierMockRecorder) CheckStakeDeposited(arg0 interface{}) *gomock.Call

CheckStakeDeposited indicates an expected call of CheckStakeDeposited.

func (*MockEthOnChainVerifierMockRecorder) CheckStakeRemoved

func (mr *MockEthOnChainVerifierMockRecorder) CheckStakeRemoved(arg0 interface{}) *gomock.Call

CheckStakeRemoved indicates an expected call of CheckStakeRemoved.

type MockEthereumClientConfirmations

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

MockEthereumClientConfirmations is a mock of EthereumClientConfirmations interface.

func NewMockEthereumClientConfirmations

func NewMockEthereumClientConfirmations(ctrl *gomock.Controller) *MockEthereumClientConfirmations

NewMockEthereumClientConfirmations creates a new mock instance.

func (*MockEthereumClientConfirmations) EXPECT

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

func (*MockEthereumClientConfirmations) HeaderByNumber

func (m *MockEthereumClientConfirmations) HeaderByNumber(arg0 context.Context, arg1 *big.Int) (*types0.Header, error)

HeaderByNumber mocks base method.

type MockEthereumClientConfirmationsMockRecorder

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

MockEthereumClientConfirmationsMockRecorder is the mock recorder for MockEthereumClientConfirmations.

func (*MockEthereumClientConfirmationsMockRecorder) HeaderByNumber

func (mr *MockEthereumClientConfirmationsMockRecorder) HeaderByNumber(arg0, arg1 interface{}) *gomock.Call

HeaderByNumber indicates an expected call of HeaderByNumber.

type MockEthereumEventSource

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

MockEthereumEventSource is a mock of EthereumEventSource interface.

func NewMockEthereumEventSource

func NewMockEthereumEventSource(ctrl *gomock.Controller) *MockEthereumEventSource

NewMockEthereumEventSource creates a new mock instance.

func (*MockEthereumEventSource) EXPECT

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

func (*MockEthereumEventSource) UpdateStakingStartingBlock

func (m *MockEthereumEventSource) UpdateStakingStartingBlock(arg0 uint64)

UpdateStakingStartingBlock mocks base method.

type MockEthereumEventSourceMockRecorder

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

MockEthereumEventSourceMockRecorder is the mock recorder for MockEthereumEventSource.

func (*MockEthereumEventSourceMockRecorder) UpdateStakingStartingBlock

func (mr *MockEthereumEventSourceMockRecorder) UpdateStakingStartingBlock(arg0 interface{}) *gomock.Call

UpdateStakingStartingBlock indicates an expected call of UpdateStakingStartingBlock.

type MockEvtForwarder

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

MockEvtForwarder is a mock of EvtForwarder interface.

func NewMockEvtForwarder

func NewMockEvtForwarder(ctrl *gomock.Controller) *MockEvtForwarder

NewMockEvtForwarder creates a new mock instance.

func (*MockEvtForwarder) EXPECT

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

func (*MockEvtForwarder) ForwardFromSelf

func (m *MockEvtForwarder) ForwardFromSelf(arg0 *v1.ChainEvent)

ForwardFromSelf mocks base method.

type MockEvtForwarderMockRecorder

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

MockEvtForwarderMockRecorder is the mock recorder for MockEvtForwarder.

func (*MockEvtForwarderMockRecorder) ForwardFromSelf

func (mr *MockEvtForwarderMockRecorder) ForwardFromSelf(arg0 interface{}) *gomock.Call

ForwardFromSelf indicates an expected call of ForwardFromSelf.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

type MockWitness

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

MockWitness is a mock of Witness interface.

func NewMockWitness

func NewMockWitness(ctrl *gomock.Controller) *MockWitness

NewMockWitness creates a new mock instance.

func (*MockWitness) EXPECT

func (m *MockWitness) EXPECT() *MockWitnessMockRecorder

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

func (*MockWitness) RestoreResource

func (m *MockWitness) RestoreResource(arg0 validators.Resource, arg1 func(interface{}, bool)) error

RestoreResource mocks base method.

func (*MockWitness) StartCheck

func (m *MockWitness) StartCheck(arg0 validators.Resource, arg1 func(interface{}, bool), arg2 time.Time) error

StartCheck mocks base method.

type MockWitnessMockRecorder

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

MockWitnessMockRecorder is the mock recorder for MockWitness.

func (*MockWitnessMockRecorder) RestoreResource

func (mr *MockWitnessMockRecorder) RestoreResource(arg0, arg1 interface{}) *gomock.Call

RestoreResource indicates an expected call of RestoreResource.

func (*MockWitnessMockRecorder) StartCheck

func (mr *MockWitnessMockRecorder) StartCheck(arg0, arg1, arg2 interface{}) *gomock.Call

StartCheck indicates an expected call of StartCheck.

Jump to

Keyboard shortcuts

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