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 ¶
func (m *MocklayerFetcher) EXPECT() *MocklayerFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocklayerFetcher) GetEpochATXs ¶
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 ¶
func (m *MocklayerPatrol) EXPECT() *MocklayerPatrolMockRecorder
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 ¶
func (m *MocklayerProcessor) EXPECT() *MocklayerProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocklayerProcessor) ProcessLayer ¶
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 ¶
func (m *MocklayerTicker) EXPECT() *MocklayerTickerMockRecorder
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.