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 Mockcertifier ¶
type Mockcertifier struct {
// contains filtered or unexported fields
}
Mockcertifier is a mock of certifier interface.
func NewMockcertifier ¶
func NewMockcertifier(ctrl *gomock.Controller) *Mockcertifier
NewMockcertifier creates a new mock instance.
func (*Mockcertifier) CertifyIfEligible ¶
func (m *Mockcertifier) CertifyIfEligible(arg0 context.Context, arg1 log.Log, arg2 types.LayerID, arg3 types.BlockID) error
CertifyIfEligible mocks base method.
func (*Mockcertifier) EXPECT ¶
func (m *Mockcertifier) EXPECT() *MockcertifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockcertifier) RegisterForCert ¶
func (m *Mockcertifier) RegisterForCert(arg0 context.Context, arg1 types.LayerID, arg2 types.BlockID) error
RegisterForCert mocks base method.
type MockcertifierMockRecorder ¶
type MockcertifierMockRecorder struct {
// contains filtered or unexported fields
}
MockcertifierMockRecorder is the mock recorder for Mockcertifier.
func (*MockcertifierMockRecorder) CertifyIfEligible ¶
func (mr *MockcertifierMockRecorder) CertifyIfEligible(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CertifyIfEligible indicates an expected call of CertifyIfEligible.
func (*MockcertifierMockRecorder) RegisterForCert ¶
func (mr *MockcertifierMockRecorder) RegisterForCert(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterForCert indicates an expected call of RegisterForCert.
type MockconservativeState ¶
type MockconservativeState struct {
// contains filtered or unexported fields
}
MockconservativeState is a mock of conservativeState interface.
func NewMockconservativeState ¶
func NewMockconservativeState(ctrl *gomock.Controller) *MockconservativeState
NewMockconservativeState creates a new mock instance.
func (*MockconservativeState) EXPECT ¶
func (m *MockconservativeState) EXPECT() *MockconservativeStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockconservativeState) SelectBlockTXs ¶
func (m *MockconservativeState) SelectBlockTXs(arg0 types.LayerID, arg1 []*types.Proposal) ([]types.TransactionID, error)
SelectBlockTXs mocks base method.
type MockconservativeStateMockRecorder ¶
type MockconservativeStateMockRecorder struct {
// contains filtered or unexported fields
}
MockconservativeStateMockRecorder is the mock recorder for MockconservativeState.
func (*MockconservativeStateMockRecorder) SelectBlockTXs ¶
func (mr *MockconservativeStateMockRecorder) SelectBlockTXs(arg0, arg1 interface{}) *gomock.Call
SelectBlockTXs indicates an expected call of SelectBlockTXs.
type MocklayerClock ¶
type MocklayerClock struct {
// contains filtered or unexported fields
}
MocklayerClock is a mock of layerClock interface.
func NewMocklayerClock ¶
func NewMocklayerClock(ctrl *gomock.Controller) *MocklayerClock
NewMocklayerClock creates a new mock instance.
func (*MocklayerClock) AwaitLayer ¶
func (m *MocklayerClock) AwaitLayer(layerID types.LayerID) chan struct{}
AwaitLayer mocks base method.
func (*MocklayerClock) EXPECT ¶
func (m *MocklayerClock) EXPECT() *MocklayerClockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocklayerClock) GetCurrentLayer ¶
func (m *MocklayerClock) GetCurrentLayer() types.LayerID
GetCurrentLayer mocks base method.
type MocklayerClockMockRecorder ¶
type MocklayerClockMockRecorder struct {
// contains filtered or unexported fields
}
MocklayerClockMockRecorder is the mock recorder for MocklayerClock.
func (*MocklayerClockMockRecorder) AwaitLayer ¶
func (mr *MocklayerClockMockRecorder) AwaitLayer(layerID interface{}) *gomock.Call
AwaitLayer indicates an expected call of AwaitLayer.
func (*MocklayerClockMockRecorder) GetCurrentLayer ¶
func (mr *MocklayerClockMockRecorder) GetCurrentLayer() *gomock.Call
GetCurrentLayer indicates an expected call of GetCurrentLayer.
type MockmeshProvider ¶
type MockmeshProvider struct {
// contains filtered or unexported fields
}
MockmeshProvider is a mock of meshProvider interface.
func NewMockmeshProvider ¶
func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider
NewMockmeshProvider creates a new mock instance.
func (*MockmeshProvider) AddBlockWithTXs ¶
AddBlockWithTXs mocks base method.
func (*MockmeshProvider) EXPECT ¶
func (m *MockmeshProvider) EXPECT() *MockmeshProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockmeshProvider) ProcessLayerPerHareOutput ¶
func (m *MockmeshProvider) ProcessLayerPerHareOutput(arg0 context.Context, arg1 types.LayerID, arg2 types.BlockID) error
ProcessLayerPerHareOutput mocks base method.
type MockmeshProviderMockRecorder ¶
type MockmeshProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.
func (*MockmeshProviderMockRecorder) AddBlockWithTXs ¶
func (mr *MockmeshProviderMockRecorder) AddBlockWithTXs(arg0, arg1 interface{}) *gomock.Call
AddBlockWithTXs indicates an expected call of AddBlockWithTXs.
func (*MockmeshProviderMockRecorder) ProcessLayerPerHareOutput ¶
func (mr *MockmeshProviderMockRecorder) ProcessLayerPerHareOutput(arg0, arg1, arg2 interface{}) *gomock.Call
ProcessLayerPerHareOutput indicates an expected call of ProcessLayerPerHareOutput.