mocks

package
v0.0.0-...-11d2657 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: GPL-3.0 Imports: 7 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 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) FetchLastNoAckMilestone

func (m *MockIHeimdallClient) FetchLastNoAckMilestone(arg0 context.Context) (string, error)

FetchLastNoAckMilestone mocks base method.

func (*MockIHeimdallClient) FetchMilestone

func (m *MockIHeimdallClient) FetchMilestone(arg0 context.Context) (*milestone.Milestone, error)

FetchMilestone mocks base method.

func (*MockIHeimdallClient) FetchMilestoneCount

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

FetchMilestoneCount mocks base method.

func (*MockIHeimdallClient) FetchMilestoneID

func (m *MockIHeimdallClient) FetchMilestoneID(arg0 context.Context, arg1 string) error

FetchMilestoneID mocks base method.

func (*MockIHeimdallClient) FetchNoAckMilestone

func (m *MockIHeimdallClient) FetchNoAckMilestone(arg0 context.Context, arg1 string) error

FetchNoAckMilestone 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) FetchLastNoAckMilestone

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

FetchLastNoAckMilestone indicates an expected call of FetchLastNoAckMilestone.

func (*MockIHeimdallClientMockRecorder) FetchMilestone

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

FetchMilestone indicates an expected call of FetchMilestone.

func (*MockIHeimdallClientMockRecorder) FetchMilestoneCount

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

FetchMilestoneCount indicates an expected call of FetchMilestoneCount.

func (*MockIHeimdallClientMockRecorder) FetchMilestoneID

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

FetchMilestoneID indicates an expected call of FetchMilestoneID.

func (*MockIHeimdallClientMockRecorder) FetchNoAckMilestone

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

FetchNoAckMilestone indicates an expected call of FetchNoAckMilestone.

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