mocks

package
v0.0.0-...-ded9150 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/Nuffle-Labs/nffl/aggregator/database (interfaces: Databaser)

Generated by this command:

mockgen -destination=./mocks/database.go -package=mocks github.com/Nuffle-Labs/nffl/aggregator/database Databaser

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 MockDatabaser

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

MockDatabaser is a mock of Databaser interface.

func NewMockDatabaser

func NewMockDatabaser(ctrl *gomock.Controller) *MockDatabaser

NewMockDatabaser creates a new mock instance.

func (*MockDatabaser) Close

func (m *MockDatabaser) Close() error

Close mocks base method.

func (*MockDatabaser) DB

func (m *MockDatabaser) DB() *gorm.DB

DB mocks base method.

func (*MockDatabaser) EXPECT

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

func (*MockDatabaser) EnableMetrics

func (m *MockDatabaser) EnableMetrics(arg0 *prometheus.Registry) error

EnableMetrics mocks base method.

func (*MockDatabaser) FetchCheckpointMessages

func (m *MockDatabaser) FetchCheckpointMessages(arg0, arg1 uint64) (*messages.CheckpointMessages, error)

FetchCheckpointMessages mocks base method.

func (*MockDatabaser) FetchOperatorSetUpdate

func (m *MockDatabaser) FetchOperatorSetUpdate(arg0 uint64) (*messages.OperatorSetUpdateMessage, error)

FetchOperatorSetUpdate mocks base method.

func (*MockDatabaser) FetchOperatorSetUpdateAggregation

func (m *MockDatabaser) FetchOperatorSetUpdateAggregation(arg0 uint64) (*messages.MessageBlsAggregation, error)

FetchOperatorSetUpdateAggregation mocks base method.

func (*MockDatabaser) FetchStateRootUpdate

func (m *MockDatabaser) FetchStateRootUpdate(arg0 uint32, arg1 uint64) (*messages.StateRootUpdateMessage, error)

FetchStateRootUpdate mocks base method.

func (*MockDatabaser) FetchStateRootUpdateAggregation

func (m *MockDatabaser) FetchStateRootUpdateAggregation(arg0 uint32, arg1 uint64) (*messages.MessageBlsAggregation, error)

FetchStateRootUpdateAggregation mocks base method.

func (*MockDatabaser) StoreOperatorSetUpdate

StoreOperatorSetUpdate mocks base method.

func (*MockDatabaser) StoreOperatorSetUpdateAggregation

func (m *MockDatabaser) StoreOperatorSetUpdateAggregation(arg0 *models.OperatorSetUpdateMessage, arg1 messages.MessageBlsAggregation) error

StoreOperatorSetUpdateAggregation mocks base method.

func (*MockDatabaser) StoreStateRootUpdate

StoreStateRootUpdate mocks base method.

func (*MockDatabaser) StoreStateRootUpdateAggregation

func (m *MockDatabaser) StoreStateRootUpdateAggregation(arg0 *models.StateRootUpdateMessage, arg1 messages.MessageBlsAggregation) error

StoreStateRootUpdateAggregation mocks base method.

type MockDatabaserMockRecorder

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

MockDatabaserMockRecorder is the mock recorder for MockDatabaser.

func (*MockDatabaserMockRecorder) Close

func (mr *MockDatabaserMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockDatabaserMockRecorder) DB

DB indicates an expected call of DB.

func (*MockDatabaserMockRecorder) EnableMetrics

func (mr *MockDatabaserMockRecorder) EnableMetrics(arg0 any) *gomock.Call

EnableMetrics indicates an expected call of EnableMetrics.

func (*MockDatabaserMockRecorder) FetchCheckpointMessages

func (mr *MockDatabaserMockRecorder) FetchCheckpointMessages(arg0, arg1 any) *gomock.Call

FetchCheckpointMessages indicates an expected call of FetchCheckpointMessages.

func (*MockDatabaserMockRecorder) FetchOperatorSetUpdate

func (mr *MockDatabaserMockRecorder) FetchOperatorSetUpdate(arg0 any) *gomock.Call

FetchOperatorSetUpdate indicates an expected call of FetchOperatorSetUpdate.

func (*MockDatabaserMockRecorder) FetchOperatorSetUpdateAggregation

func (mr *MockDatabaserMockRecorder) FetchOperatorSetUpdateAggregation(arg0 any) *gomock.Call

FetchOperatorSetUpdateAggregation indicates an expected call of FetchOperatorSetUpdateAggregation.

func (*MockDatabaserMockRecorder) FetchStateRootUpdate

func (mr *MockDatabaserMockRecorder) FetchStateRootUpdate(arg0, arg1 any) *gomock.Call

FetchStateRootUpdate indicates an expected call of FetchStateRootUpdate.

func (*MockDatabaserMockRecorder) FetchStateRootUpdateAggregation

func (mr *MockDatabaserMockRecorder) FetchStateRootUpdateAggregation(arg0, arg1 any) *gomock.Call

FetchStateRootUpdateAggregation indicates an expected call of FetchStateRootUpdateAggregation.

func (*MockDatabaserMockRecorder) StoreOperatorSetUpdate

func (mr *MockDatabaserMockRecorder) StoreOperatorSetUpdate(arg0 any) *gomock.Call

StoreOperatorSetUpdate indicates an expected call of StoreOperatorSetUpdate.

func (*MockDatabaserMockRecorder) StoreOperatorSetUpdateAggregation

func (mr *MockDatabaserMockRecorder) StoreOperatorSetUpdateAggregation(arg0, arg1 any) *gomock.Call

StoreOperatorSetUpdateAggregation indicates an expected call of StoreOperatorSetUpdateAggregation.

func (*MockDatabaserMockRecorder) StoreStateRootUpdate

func (mr *MockDatabaserMockRecorder) StoreStateRootUpdate(arg0 any) *gomock.Call

StoreStateRootUpdate indicates an expected call of StoreStateRootUpdate.

func (*MockDatabaserMockRecorder) StoreStateRootUpdateAggregation

func (mr *MockDatabaserMockRecorder) StoreStateRootUpdateAggregation(arg0, arg1 any) *gomock.Call

StoreStateRootUpdateAggregation indicates an expected call of StoreStateRootUpdateAggregation.

Jump to

Keyboard shortcuts

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