Documentation ¶
Overview ¶
Package mock_blockindex is a generated GoMock package.
Index ¶
- type MockBloomFilterIndexer
- func (m *MockBloomFilterIndexer) BlockFilterByHeight(arg0 uint64) (bloom.BloomFilter, error)
- func (m *MockBloomFilterIndexer) DeleteTipBlock(arg0 context.Context, arg1 *block.Block) error
- func (m *MockBloomFilterIndexer) EXPECT() *MockBloomFilterIndexerMockRecorder
- func (m *MockBloomFilterIndexer) FilterBlocksInRange(arg0 *logfilter.LogFilter, arg1, arg2, arg3 uint64) ([]uint64, error)
- func (m *MockBloomFilterIndexer) Height() (uint64, error)
- func (m *MockBloomFilterIndexer) PutBlock(arg0 context.Context, arg1 *block.Block) error
- func (m *MockBloomFilterIndexer) RangeBloomFilterNumElements() uint64
- func (m *MockBloomFilterIndexer) Start(ctx context.Context) error
- func (m *MockBloomFilterIndexer) Stop(ctx context.Context) error
- type MockBloomFilterIndexerMockRecorder
- func (mr *MockBloomFilterIndexerMockRecorder) BlockFilterByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) DeleteTipBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) FilterBlocksInRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) Height() *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) PutBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) RangeBloomFilterNumElements() *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) Start(ctx interface{}) *gomock.Call
- func (mr *MockBloomFilterIndexerMockRecorder) Stop(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBloomFilterIndexer ¶
type MockBloomFilterIndexer struct {
// contains filtered or unexported fields
}
MockBloomFilterIndexer is a mock of BloomFilterIndexer interface.
func NewMockBloomFilterIndexer ¶
func NewMockBloomFilterIndexer(ctrl *gomock.Controller) *MockBloomFilterIndexer
NewMockBloomFilterIndexer creates a new mock instance.
func (*MockBloomFilterIndexer) BlockFilterByHeight ¶
func (m *MockBloomFilterIndexer) BlockFilterByHeight(arg0 uint64) (bloom.BloomFilter, error)
BlockFilterByHeight mocks base method.
func (*MockBloomFilterIndexer) DeleteTipBlock ¶
DeleteTipBlock mocks base method.
func (*MockBloomFilterIndexer) EXPECT ¶
func (m *MockBloomFilterIndexer) EXPECT() *MockBloomFilterIndexerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBloomFilterIndexer) FilterBlocksInRange ¶
func (m *MockBloomFilterIndexer) FilterBlocksInRange(arg0 *logfilter.LogFilter, arg1, arg2, arg3 uint64) ([]uint64, error)
FilterBlocksInRange mocks base method.
func (*MockBloomFilterIndexer) Height ¶
func (m *MockBloomFilterIndexer) Height() (uint64, error)
Height mocks base method.
func (*MockBloomFilterIndexer) RangeBloomFilterNumElements ¶
func (m *MockBloomFilterIndexer) RangeBloomFilterNumElements() uint64
RangeBloomFilterNumElements mocks base method.
type MockBloomFilterIndexerMockRecorder ¶
type MockBloomFilterIndexerMockRecorder struct {
// contains filtered or unexported fields
}
MockBloomFilterIndexerMockRecorder is the mock recorder for MockBloomFilterIndexer.
func (*MockBloomFilterIndexerMockRecorder) BlockFilterByHeight ¶
func (mr *MockBloomFilterIndexerMockRecorder) BlockFilterByHeight(arg0 interface{}) *gomock.Call
BlockFilterByHeight indicates an expected call of BlockFilterByHeight.
func (*MockBloomFilterIndexerMockRecorder) DeleteTipBlock ¶
func (mr *MockBloomFilterIndexerMockRecorder) DeleteTipBlock(arg0, arg1 interface{}) *gomock.Call
DeleteTipBlock indicates an expected call of DeleteTipBlock.
func (*MockBloomFilterIndexerMockRecorder) FilterBlocksInRange ¶
func (mr *MockBloomFilterIndexerMockRecorder) FilterBlocksInRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FilterBlocksInRange indicates an expected call of FilterBlocksInRange.
func (*MockBloomFilterIndexerMockRecorder) Height ¶
func (mr *MockBloomFilterIndexerMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*MockBloomFilterIndexerMockRecorder) PutBlock ¶
func (mr *MockBloomFilterIndexerMockRecorder) PutBlock(arg0, arg1 interface{}) *gomock.Call
PutBlock indicates an expected call of PutBlock.
func (*MockBloomFilterIndexerMockRecorder) RangeBloomFilterNumElements ¶
func (mr *MockBloomFilterIndexerMockRecorder) RangeBloomFilterNumElements() *gomock.Call
RangeBloomFilterNumElements indicates an expected call of RangeBloomFilterNumElements.
func (*MockBloomFilterIndexerMockRecorder) Start ¶
func (mr *MockBloomFilterIndexerMockRecorder) Start(ctx interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockBloomFilterIndexerMockRecorder) Stop ¶
func (mr *MockBloomFilterIndexerMockRecorder) Stop(ctx interface{}) *gomock.Call
Stop indicates an expected call of Stop.