mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockIHeimdallClient

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

MockIHeimdallClient is a mock of IHeimdallClient interface.

func NewMockIHeimdallClient

func NewMockIHeimdallClient(ctrl *gomock.Controller) *MockIHeimdallClient

NewMockIHeimdallClient creates a new mock instance.

func (*MockIHeimdallClient) Close

func (m *MockIHeimdallClient) Close()

Close mocks base method.

func (*MockIHeimdallClient) EXPECT

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

func (*MockIHeimdallClient) FetchCheckpoint

func (m *MockIHeimdallClient) FetchCheckpoint(arg0 context.Context, arg1 int64) (*checkpoint.Checkpoint, error)

FetchCheckpoint mocks base method.

func (*MockIHeimdallClient) FetchCheckpointCount

func (m *MockIHeimdallClient) FetchCheckpointCount(arg0 context.Context) (int64, error)

FetchCheckpointCount mocks base method.

func (*MockIHeimdallClient) Span

Span mocks base method.

func (*MockIHeimdallClient) StateSyncEvents

func (m *MockIHeimdallClient) StateSyncEvents(arg0 context.Context, arg1 uint64, arg2 int64) ([]*clerk.EventRecordWithTime, error)

StateSyncEvents mocks base method.

type MockIHeimdallClientMockRecorder

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

MockIHeimdallClientMockRecorder is the mock recorder for MockIHeimdallClient.

func (*MockIHeimdallClientMockRecorder) Close

Close indicates an expected call of Close.

func (*MockIHeimdallClientMockRecorder) FetchCheckpoint

func (mr *MockIHeimdallClientMockRecorder) FetchCheckpoint(arg0, arg1 interface{}) *gomock.Call

FetchCheckpoint indicates an expected call of FetchCheckpoint.

func (*MockIHeimdallClientMockRecorder) FetchCheckpointCount

func (mr *MockIHeimdallClientMockRecorder) FetchCheckpointCount(arg0 interface{}) *gomock.Call

FetchCheckpointCount indicates an expected call of FetchCheckpointCount.

func (*MockIHeimdallClientMockRecorder) Span

func (mr *MockIHeimdallClientMockRecorder) Span(arg0, arg1 interface{}) *gomock.Call

Span indicates an expected call of Span.

func (*MockIHeimdallClientMockRecorder) StateSyncEvents

func (mr *MockIHeimdallClientMockRecorder) StateSyncEvents(arg0, arg1, arg2 interface{}) *gomock.Call

StateSyncEvents indicates an expected call of StateSyncEvents.

Jump to

Keyboard shortcuts

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