Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockatxHandler
- type MockatxHandlerMockRecorder
- type MockballotHandler
- type MockballotHandlerMockRecorder
- type MockblockHandler
- type MockblockHandlerMockRecorder
- type Mockhost
- type MockhostMockRecorder
- type MockmeshProvider
- type MockmeshProviderMockRecorder
- type MockpoetHandler
- type MockpoetHandlerMockRecorder
- type MockproposalHandler
- type MockproposalHandlerMockRecorder
- type Mockrequester
- type MockrequesterMockRecorder
- type MocktxHandler
- type MocktxHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockatxHandler ¶
type MockatxHandler struct {
// contains filtered or unexported fields
}
MockatxHandler is a mock of atxHandler interface.
func NewMockatxHandler ¶
func NewMockatxHandler(ctrl *gomock.Controller) *MockatxHandler
NewMockatxHandler creates a new mock instance.
func (*MockatxHandler) EXPECT ¶
func (m *MockatxHandler) EXPECT() *MockatxHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockatxHandler) HandleAtxData ¶
func (m *MockatxHandler) HandleAtxData(arg0 context.Context, arg1 []byte) error
HandleAtxData mocks base method.
type MockatxHandlerMockRecorder ¶
type MockatxHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockatxHandlerMockRecorder is the mock recorder for MockatxHandler.
func (*MockatxHandlerMockRecorder) HandleAtxData ¶
func (mr *MockatxHandlerMockRecorder) HandleAtxData(arg0, arg1 interface{}) *gomock.Call
HandleAtxData indicates an expected call of HandleAtxData.
type MockballotHandler ¶
type MockballotHandler struct {
// contains filtered or unexported fields
}
MockballotHandler is a mock of ballotHandler interface.
func NewMockballotHandler ¶
func NewMockballotHandler(ctrl *gomock.Controller) *MockballotHandler
NewMockballotHandler creates a new mock instance.
func (*MockballotHandler) EXPECT ¶
func (m *MockballotHandler) EXPECT() *MockballotHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockballotHandler) HandleSyncedBallot ¶
func (m *MockballotHandler) HandleSyncedBallot(arg0 context.Context, arg1 []byte) error
HandleSyncedBallot mocks base method.
type MockballotHandlerMockRecorder ¶
type MockballotHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockballotHandlerMockRecorder is the mock recorder for MockballotHandler.
func (*MockballotHandlerMockRecorder) HandleSyncedBallot ¶
func (mr *MockballotHandlerMockRecorder) HandleSyncedBallot(arg0, arg1 interface{}) *gomock.Call
HandleSyncedBallot indicates an expected call of HandleSyncedBallot.
type MockblockHandler ¶
type MockblockHandler struct {
// contains filtered or unexported fields
}
MockblockHandler is a mock of blockHandler interface.
func NewMockblockHandler ¶
func NewMockblockHandler(ctrl *gomock.Controller) *MockblockHandler
NewMockblockHandler creates a new mock instance.
func (*MockblockHandler) EXPECT ¶
func (m *MockblockHandler) EXPECT() *MockblockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockblockHandler) HandleSyncedBlock ¶
func (m *MockblockHandler) HandleSyncedBlock(arg0 context.Context, arg1 []byte) error
HandleSyncedBlock mocks base method.
type MockblockHandlerMockRecorder ¶
type MockblockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockblockHandlerMockRecorder is the mock recorder for MockblockHandler.
func (*MockblockHandlerMockRecorder) HandleSyncedBlock ¶
func (mr *MockblockHandlerMockRecorder) HandleSyncedBlock(arg0, arg1 interface{}) *gomock.Call
HandleSyncedBlock indicates an expected call of HandleSyncedBlock.
type Mockhost ¶
type Mockhost struct {
// contains filtered or unexported fields
}
Mockhost is a mock of host interface.
func NewMockhost ¶
func NewMockhost(ctrl *gomock.Controller) *Mockhost
NewMockhost creates a new mock instance.
func (*Mockhost) EXPECT ¶
func (m *Mockhost) EXPECT() *MockhostMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockhostMockRecorder ¶
type MockhostMockRecorder struct {
// contains filtered or unexported fields
}
MockhostMockRecorder is the mock recorder for Mockhost.
func (*MockhostMockRecorder) Close ¶
func (mr *MockhostMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockhostMockRecorder) GetPeers ¶
func (mr *MockhostMockRecorder) GetPeers() *gomock.Call
GetPeers indicates an expected call of GetPeers.
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) EXPECT ¶
func (m *MockmeshProvider) EXPECT() *MockmeshProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockmeshProvider) LastVerified ¶
func (m *MockmeshProvider) LastVerified() types.LayerID
LastVerified mocks base method.
type MockmeshProviderMockRecorder ¶
type MockmeshProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.
func (*MockmeshProviderMockRecorder) LastVerified ¶
func (mr *MockmeshProviderMockRecorder) LastVerified() *gomock.Call
LastVerified indicates an expected call of LastVerified.
type MockpoetHandler ¶
type MockpoetHandler struct {
// contains filtered or unexported fields
}
MockpoetHandler is a mock of poetHandler interface.
func NewMockpoetHandler ¶
func NewMockpoetHandler(ctrl *gomock.Controller) *MockpoetHandler
NewMockpoetHandler creates a new mock instance.
func (*MockpoetHandler) EXPECT ¶
func (m *MockpoetHandler) EXPECT() *MockpoetHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockpoetHandler) ValidateAndStoreMsg ¶
func (m *MockpoetHandler) ValidateAndStoreMsg(data []byte) error
ValidateAndStoreMsg mocks base method.
type MockpoetHandlerMockRecorder ¶
type MockpoetHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockpoetHandlerMockRecorder is the mock recorder for MockpoetHandler.
func (*MockpoetHandlerMockRecorder) ValidateAndStoreMsg ¶
func (mr *MockpoetHandlerMockRecorder) ValidateAndStoreMsg(data interface{}) *gomock.Call
ValidateAndStoreMsg indicates an expected call of ValidateAndStoreMsg.
type MockproposalHandler ¶
type MockproposalHandler struct {
// contains filtered or unexported fields
}
MockproposalHandler is a mock of proposalHandler interface.
func NewMockproposalHandler ¶
func NewMockproposalHandler(ctrl *gomock.Controller) *MockproposalHandler
NewMockproposalHandler creates a new mock instance.
func (*MockproposalHandler) EXPECT ¶
func (m *MockproposalHandler) EXPECT() *MockproposalHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockproposalHandler) HandleSyncedProposal ¶
func (m *MockproposalHandler) HandleSyncedProposal(arg0 context.Context, arg1 []byte) error
HandleSyncedProposal mocks base method.
type MockproposalHandlerMockRecorder ¶
type MockproposalHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockproposalHandlerMockRecorder is the mock recorder for MockproposalHandler.
func (*MockproposalHandlerMockRecorder) HandleSyncedProposal ¶
func (mr *MockproposalHandlerMockRecorder) HandleSyncedProposal(arg0, arg1 interface{}) *gomock.Call
HandleSyncedProposal indicates an expected call of HandleSyncedProposal.
type Mockrequester ¶
type Mockrequester struct {
// contains filtered or unexported fields
}
Mockrequester is a mock of requester interface.
func NewMockrequester ¶
func NewMockrequester(ctrl *gomock.Controller) *Mockrequester
NewMockrequester creates a new mock instance.
func (*Mockrequester) EXPECT ¶
func (m *Mockrequester) EXPECT() *MockrequesterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockrequesterMockRecorder ¶
type MockrequesterMockRecorder struct {
// contains filtered or unexported fields
}
MockrequesterMockRecorder is the mock recorder for Mockrequester.
func (*MockrequesterMockRecorder) Request ¶
func (mr *MockrequesterMockRecorder) Request(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Request indicates an expected call of Request.
type MocktxHandler ¶
type MocktxHandler struct {
// contains filtered or unexported fields
}
MocktxHandler is a mock of txHandler interface.
func NewMocktxHandler ¶
func NewMocktxHandler(ctrl *gomock.Controller) *MocktxHandler
NewMocktxHandler creates a new mock instance.
func (*MocktxHandler) EXPECT ¶
func (m *MocktxHandler) EXPECT() *MocktxHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocktxHandler) HandleBlockTransaction ¶
func (m *MocktxHandler) HandleBlockTransaction(arg0 context.Context, arg1 []byte) error
HandleBlockTransaction mocks base method.
func (*MocktxHandler) HandleProposalTransaction ¶
func (m *MocktxHandler) HandleProposalTransaction(arg0 context.Context, arg1 []byte) error
HandleProposalTransaction mocks base method.
type MocktxHandlerMockRecorder ¶
type MocktxHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MocktxHandlerMockRecorder is the mock recorder for MocktxHandler.
func (*MocktxHandlerMockRecorder) HandleBlockTransaction ¶
func (mr *MocktxHandlerMockRecorder) HandleBlockTransaction(arg0, arg1 interface{}) *gomock.Call
HandleBlockTransaction indicates an expected call of HandleBlockTransaction.
func (*MocktxHandlerMockRecorder) HandleProposalTransaction ¶
func (mr *MocktxHandlerMockRecorder) HandleProposalTransaction(arg0, arg1 interface{}) *gomock.Call
HandleProposalTransaction indicates an expected call of HandleProposalTransaction.