mock

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeaconDataProvider

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

MockBeaconDataProvider is a mock of BeaconDataProvider interface.

func NewMockBeaconDataProvider

func NewMockBeaconDataProvider(ctrl *gomock.Controller) *MockBeaconDataProvider

NewMockBeaconDataProvider creates a new mock instance.

func (*MockBeaconDataProvider) EXPECT

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

func (*MockBeaconDataProvider) GetEpoch

func (m *MockBeaconDataProvider) GetEpoch(arg0 uint64) ethwallclock.Epoch

GetEpoch mocks base method.

func (*MockBeaconDataProvider) GetEpochFromSlot

func (m *MockBeaconDataProvider) GetEpochFromSlot(arg0 uint64) ethwallclock.Epoch

GetEpochFromSlot mocks base method.

func (*MockBeaconDataProvider) GetSlot

GetSlot mocks base method.

func (*MockBeaconDataProvider) GetValidatorIndex

func (m *MockBeaconDataProvider) GetValidatorIndex(arg0 phase0.Epoch, arg1 phase0.Slot, arg2 phase0.CommitteeIndex, arg3 uint64) (phase0.ValidatorIndex, error)

GetValidatorIndex mocks base method.

func (*MockBeaconDataProvider) GetWallclock

GetWallclock mocks base method.

func (*MockBeaconDataProvider) Node

Node mocks base method.

func (*MockBeaconDataProvider) Synced

func (m *MockBeaconDataProvider) Synced(arg0 context.Context) error

Synced mocks base method.

type MockBeaconDataProviderMockRecorder

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

MockBeaconDataProviderMockRecorder is the mock recorder for MockBeaconDataProvider.

func (*MockBeaconDataProviderMockRecorder) GetEpoch

func (mr *MockBeaconDataProviderMockRecorder) GetEpoch(arg0 any) *gomock.Call

GetEpoch indicates an expected call of GetEpoch.

func (*MockBeaconDataProviderMockRecorder) GetEpochFromSlot

func (mr *MockBeaconDataProviderMockRecorder) GetEpochFromSlot(arg0 any) *gomock.Call

GetEpochFromSlot indicates an expected call of GetEpochFromSlot.

func (*MockBeaconDataProviderMockRecorder) GetSlot

GetSlot indicates an expected call of GetSlot.

func (*MockBeaconDataProviderMockRecorder) GetValidatorIndex

func (mr *MockBeaconDataProviderMockRecorder) GetValidatorIndex(arg0, arg1, arg2, arg3 any) *gomock.Call

GetValidatorIndex indicates an expected call of GetValidatorIndex.

func (*MockBeaconDataProviderMockRecorder) GetWallclock

func (mr *MockBeaconDataProviderMockRecorder) GetWallclock() *gomock.Call

GetWallclock indicates an expected call of GetWallclock.

func (*MockBeaconDataProviderMockRecorder) Node

Node indicates an expected call of Node.

func (*MockBeaconDataProviderMockRecorder) Synced

Synced indicates an expected call of Synced.

type MockEvent

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

MockEvent is a mock of Event interface.

func NewMockEvent

func NewMockEvent(ctrl *gomock.Controller) *MockEvent

NewMockEvent creates a new mock instance.

func (*MockEvent) Data

func (m *MockEvent) Data() any

Data mocks base method.

func (*MockEvent) Decorated

func (m *MockEvent) Decorated() *xatu.DecoratedEvent

Decorated mocks base method.

func (*MockEvent) EXPECT

func (m *MockEvent) EXPECT() *MockEventMockRecorder

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

func (*MockEvent) Ignore

func (m *MockEvent) Ignore(arg0 context.Context) (bool, error)

Ignore mocks base method.

func (*MockEvent) Meta

func (m *MockEvent) Meta() *xatu.Meta

Meta mocks base method.

func (*MockEvent) Time

func (m *MockEvent) Time() time.Time

Time mocks base method.

func (*MockEvent) Type

func (m *MockEvent) Type() string

Type mocks base method.

type MockEventMockRecorder

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

MockEventMockRecorder is the mock recorder for MockEvent.

func (*MockEventMockRecorder) Data

func (mr *MockEventMockRecorder) Data() *gomock.Call

Data indicates an expected call of Data.

func (*MockEventMockRecorder) Decorated

func (mr *MockEventMockRecorder) Decorated() *gomock.Call

Decorated indicates an expected call of Decorated.

func (*MockEventMockRecorder) Ignore

func (mr *MockEventMockRecorder) Ignore(arg0 any) *gomock.Call

Ignore indicates an expected call of Ignore.

func (*MockEventMockRecorder) Meta

func (mr *MockEventMockRecorder) Meta() *gomock.Call

Meta indicates an expected call of Meta.

func (*MockEventMockRecorder) Time

func (mr *MockEventMockRecorder) Time() *gomock.Call

Time indicates an expected call of Time.

func (*MockEventMockRecorder) Type

func (mr *MockEventMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

Jump to

Keyboard shortcuts

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