Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAtxFetcher
- type MockAtxFetcherMockRecorder
- type MockBlockFetcher
- type MockBlockFetcherMockRecorder
- type MockFetcher
- func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
- func (m *MockFetcher) FetchAtx(arg0 context.Context, arg1 types.ATXID) error
- func (m *MockFetcher) FetchBlock(arg0 context.Context, arg1 types.BlockID) error
- func (m *MockFetcher) GetAtxs(arg0 context.Context, arg1 []types.ATXID) error
- func (m *MockFetcher) GetBlocks(arg0 context.Context, arg1 []types.BlockID) error
- func (m *MockFetcher) GetPoetProof(arg0 context.Context, arg1 types.Hash32) error
- func (m *MockFetcher) GetTxs(arg0 context.Context, arg1 []types.TransactionID) error
- type MockFetcherMockRecorder
- func (mr *MockFetcherMockRecorder) FetchAtx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) FetchBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) GetAtxs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) GetBlocks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) GetPoetProof(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFetcherMockRecorder) GetTxs(arg0, arg1 interface{}) *gomock.Call
- type MockPoetProofFetcher
- type MockPoetProofFetcherMockRecorder
- type MockTxFetcher
- type MockTxFetcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAtxFetcher ¶
type MockAtxFetcher struct {
// contains filtered or unexported fields
}
MockAtxFetcher is a mock of AtxFetcher interface.
func NewMockAtxFetcher ¶
func NewMockAtxFetcher(ctrl *gomock.Controller) *MockAtxFetcher
NewMockAtxFetcher creates a new mock instance.
func (*MockAtxFetcher) EXPECT ¶
func (m *MockAtxFetcher) EXPECT() *MockAtxFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAtxFetcherMockRecorder ¶
type MockAtxFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockAtxFetcherMockRecorder is the mock recorder for MockAtxFetcher.
func (*MockAtxFetcherMockRecorder) FetchAtx ¶
func (mr *MockAtxFetcherMockRecorder) FetchAtx(arg0, arg1 interface{}) *gomock.Call
FetchAtx indicates an expected call of FetchAtx.
func (*MockAtxFetcherMockRecorder) GetAtxs ¶
func (mr *MockAtxFetcherMockRecorder) GetAtxs(arg0, arg1 interface{}) *gomock.Call
GetAtxs indicates an expected call of GetAtxs.
type MockBlockFetcher ¶
type MockBlockFetcher struct {
// contains filtered or unexported fields
}
MockBlockFetcher is a mock of BlockFetcher interface.
func NewMockBlockFetcher ¶
func NewMockBlockFetcher(ctrl *gomock.Controller) *MockBlockFetcher
NewMockBlockFetcher creates a new mock instance.
func (*MockBlockFetcher) EXPECT ¶
func (m *MockBlockFetcher) EXPECT() *MockBlockFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockFetcher) FetchBlock ¶
FetchBlock mocks base method.
type MockBlockFetcherMockRecorder ¶
type MockBlockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockFetcherMockRecorder is the mock recorder for MockBlockFetcher.
func (*MockBlockFetcherMockRecorder) FetchBlock ¶
func (mr *MockBlockFetcherMockRecorder) FetchBlock(arg0, arg1 interface{}) *gomock.Call
FetchBlock indicates an expected call of FetchBlock.
func (*MockBlockFetcherMockRecorder) GetBlocks ¶
func (mr *MockBlockFetcherMockRecorder) GetBlocks(arg0, arg1 interface{}) *gomock.Call
GetBlocks indicates an expected call of GetBlocks.
type MockFetcher ¶
type MockFetcher struct {
// contains filtered or unexported fields
}
MockFetcher is a mock of Fetcher interface.
func NewMockFetcher ¶
func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher
NewMockFetcher creates a new mock instance.
func (*MockFetcher) EXPECT ¶
func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFetcher) FetchBlock ¶
FetchBlock mocks base method.
func (*MockFetcher) GetPoetProof ¶
GetPoetProof mocks base method.
func (*MockFetcher) GetTxs ¶
func (m *MockFetcher) GetTxs(arg0 context.Context, arg1 []types.TransactionID) error
GetTxs mocks base method.
type MockFetcherMockRecorder ¶
type MockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockFetcherMockRecorder is the mock recorder for MockFetcher.
func (*MockFetcherMockRecorder) FetchAtx ¶
func (mr *MockFetcherMockRecorder) FetchAtx(arg0, arg1 interface{}) *gomock.Call
FetchAtx indicates an expected call of FetchAtx.
func (*MockFetcherMockRecorder) FetchBlock ¶
func (mr *MockFetcherMockRecorder) FetchBlock(arg0, arg1 interface{}) *gomock.Call
FetchBlock indicates an expected call of FetchBlock.
func (*MockFetcherMockRecorder) GetAtxs ¶
func (mr *MockFetcherMockRecorder) GetAtxs(arg0, arg1 interface{}) *gomock.Call
GetAtxs indicates an expected call of GetAtxs.
func (*MockFetcherMockRecorder) GetBlocks ¶
func (mr *MockFetcherMockRecorder) GetBlocks(arg0, arg1 interface{}) *gomock.Call
GetBlocks indicates an expected call of GetBlocks.
func (*MockFetcherMockRecorder) GetPoetProof ¶
func (mr *MockFetcherMockRecorder) GetPoetProof(arg0, arg1 interface{}) *gomock.Call
GetPoetProof indicates an expected call of GetPoetProof.
func (*MockFetcherMockRecorder) GetTxs ¶
func (mr *MockFetcherMockRecorder) GetTxs(arg0, arg1 interface{}) *gomock.Call
GetTxs indicates an expected call of GetTxs.
type MockPoetProofFetcher ¶
type MockPoetProofFetcher struct {
// contains filtered or unexported fields
}
MockPoetProofFetcher is a mock of PoetProofFetcher interface.
func NewMockPoetProofFetcher ¶
func NewMockPoetProofFetcher(ctrl *gomock.Controller) *MockPoetProofFetcher
NewMockPoetProofFetcher creates a new mock instance.
func (*MockPoetProofFetcher) EXPECT ¶
func (m *MockPoetProofFetcher) EXPECT() *MockPoetProofFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoetProofFetcher) GetPoetProof ¶
GetPoetProof mocks base method.
type MockPoetProofFetcherMockRecorder ¶
type MockPoetProofFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockPoetProofFetcherMockRecorder is the mock recorder for MockPoetProofFetcher.
func (*MockPoetProofFetcherMockRecorder) GetPoetProof ¶
func (mr *MockPoetProofFetcherMockRecorder) GetPoetProof(arg0, arg1 interface{}) *gomock.Call
GetPoetProof indicates an expected call of GetPoetProof.
type MockTxFetcher ¶
type MockTxFetcher struct {
// contains filtered or unexported fields
}
MockTxFetcher is a mock of TxFetcher interface.
func NewMockTxFetcher ¶
func NewMockTxFetcher(ctrl *gomock.Controller) *MockTxFetcher
NewMockTxFetcher creates a new mock instance.
func (*MockTxFetcher) EXPECT ¶
func (m *MockTxFetcher) EXPECT() *MockTxFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxFetcher) GetTxs ¶
func (m *MockTxFetcher) GetTxs(arg0 context.Context, arg1 []types.TransactionID) error
GetTxs mocks base method.
type MockTxFetcherMockRecorder ¶
type MockTxFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTxFetcherMockRecorder is the mock recorder for MockTxFetcher.
func (*MockTxFetcherMockRecorder) GetTxs ¶
func (mr *MockTxFetcherMockRecorder) GetTxs(arg0, arg1 interface{}) *gomock.Call
GetTxs indicates an expected call of GetTxs.