mocks

package
v0.2.8-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 6 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(ctx context.Context, id types.EpochID) error

GetEpochATXs mocks base method.

func (*MocklayerFetcher) PollLayerContent

func (m *MocklayerFetcher) PollLayerContent(ctx context.Context, layerID 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(ctx, id interface{}) *gomock.Call

GetEpochATXs indicates an expected call of GetEpochATXs.

func (*MocklayerFetcherMockRecorder) PollLayerContent

func (mr *MocklayerFetcherMockRecorder) PollLayerContent(ctx, layerID 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 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.

func (*MocklayerTicker) LayerToTime added in v1.4.0

func (m *MocklayerTicker) LayerToTime(arg0 types.LayerID) time.Time

LayerToTime 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.

func (*MocklayerTickerMockRecorder) LayerToTime added in v1.4.0

func (mr *MocklayerTickerMockRecorder) LayerToTime(arg0 interface{}) *gomock.Call

LayerToTime indicates an expected call of LayerToTime.

type MocklayerValidator

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

MocklayerValidator is a mock of layerValidator interface.

func NewMocklayerValidator

func NewMocklayerValidator(ctrl *gomock.Controller) *MocklayerValidator

NewMocklayerValidator creates a new mock instance.

func (*MocklayerValidator) EXPECT

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

func (*MocklayerValidator) ValidateLayer

func (m *MocklayerValidator) ValidateLayer(arg0 context.Context, arg1 *types.Layer)

ValidateLayer mocks base method.

type MocklayerValidatorMockRecorder

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

MocklayerValidatorMockRecorder is the mock recorder for MocklayerValidator.

func (*MocklayerValidatorMockRecorder) ValidateLayer

func (mr *MocklayerValidatorMockRecorder) ValidateLayer(arg0, arg1 interface{}) *gomock.Call

ValidateLayer indicates an expected call of ValidateLayer.

Jump to

Keyboard shortcuts

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