mocks

package
v0.2.15-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 5 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 MocklayerFetcher

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

MocklayerFetcher is a mock of layerFetcher interface.

func NewMocklayerFetcher

func NewMocklayerFetcher(ctrl *gomock.Controller) *MocklayerFetcher

NewMocklayerFetcher creates a new mock instance.

func (*MocklayerFetcher) EXPECT

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

func (*MocklayerFetcher) GetEpochATXs

func (m *MocklayerFetcher) GetEpochATXs(arg0 context.Context, arg1 types.EpochID) error

GetEpochATXs mocks base method.

func (*MocklayerFetcher) PollLayerContent

func (m *MocklayerFetcher) PollLayerContent(arg0 context.Context, arg1 types.LayerID) chan layerfetcher.LayerPromiseResult

PollLayerContent mocks base method.

type MocklayerFetcherMockRecorder

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

MocklayerFetcherMockRecorder is the mock recorder for MocklayerFetcher.

func (*MocklayerFetcherMockRecorder) GetEpochATXs

func (mr *MocklayerFetcherMockRecorder) GetEpochATXs(arg0, arg1 interface{}) *gomock.Call

GetEpochATXs indicates an expected call of GetEpochATXs.

func (*MocklayerFetcherMockRecorder) PollLayerContent

func (mr *MocklayerFetcherMockRecorder) PollLayerContent(arg0, arg1 interface{}) *gomock.Call

PollLayerContent indicates an expected call of PollLayerContent.

type MocklayerPatrol

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

MocklayerPatrol is a mock of layerPatrol interface.

func NewMocklayerPatrol

func NewMocklayerPatrol(ctrl *gomock.Controller) *MocklayerPatrol

NewMocklayerPatrol creates a new mock instance.

func (*MocklayerPatrol) EXPECT

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

func (*MocklayerPatrol) IsHareInCharge

func (m *MocklayerPatrol) IsHareInCharge(arg0 types.LayerID) bool

IsHareInCharge mocks base method.

type MocklayerPatrolMockRecorder

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

MocklayerPatrolMockRecorder is the mock recorder for MocklayerPatrol.

func (*MocklayerPatrolMockRecorder) IsHareInCharge

func (mr *MocklayerPatrolMockRecorder) IsHareInCharge(arg0 interface{}) *gomock.Call

IsHareInCharge indicates an expected call of IsHareInCharge.

type MocklayerProcessor

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

MocklayerProcessor is a mock of layerProcessor interface.

func NewMocklayerProcessor

func NewMocklayerProcessor(ctrl *gomock.Controller) *MocklayerProcessor

NewMocklayerProcessor creates a new mock instance.

func (*MocklayerProcessor) EXPECT

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

func (*MocklayerProcessor) ProcessLayer

func (m *MocklayerProcessor) ProcessLayer(arg0 context.Context, arg1 types.LayerID) error

ProcessLayer mocks base method.

type MocklayerProcessorMockRecorder

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

MocklayerProcessorMockRecorder is the mock recorder for MocklayerProcessor.

func (*MocklayerProcessorMockRecorder) ProcessLayer

func (mr *MocklayerProcessorMockRecorder) ProcessLayer(arg0, arg1 interface{}) *gomock.Call

ProcessLayer indicates an expected call of ProcessLayer.

type MocklayerTicker

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

MocklayerTicker is a mock of layerTicker interface.

func NewMocklayerTicker

func NewMocklayerTicker(ctrl *gomock.Controller) *MocklayerTicker

NewMocklayerTicker creates a new mock instance.

func (*MocklayerTicker) EXPECT

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

func (*MocklayerTicker) GetCurrentLayer

func (m *MocklayerTicker) GetCurrentLayer() types.LayerID

GetCurrentLayer mocks base method.

type MocklayerTickerMockRecorder

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

MocklayerTickerMockRecorder is the mock recorder for MocklayerTicker.

func (*MocklayerTickerMockRecorder) GetCurrentLayer

func (mr *MocklayerTickerMockRecorder) GetCurrentLayer() *gomock.Call

GetCurrentLayer indicates an expected call of GetCurrentLayer.

Jump to

Keyboard shortcuts

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