Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) BlockByHeight(arg0 uint64) (*flow.Block, error)
- func (m *MockStore) BlockByID(arg0 flow.Identifier) (*flow.Block, error)
- func (m *MockStore) CollectionByID(arg0 flow.Identifier) (flow.LightCollection, error)
- func (m *MockStore) CommitBlock(arg0 flow.Block, arg1 []*flow.LightCollection, ...) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) EventsByHeight(arg0 uint64, arg1 string) ([]flow.Event, error)
- func (m *MockStore) LatestBlock() (flow.Block, error)
- func (m *MockStore) LedgerViewByHeight(arg0 uint64) *delta.View
- func (m *MockStore) StoreBlock(arg0 *flow.Block) error
- func (m *MockStore) TransactionByID(arg0 flow.Identifier) (flow.TransactionBody, error)
- func (m *MockStore) TransactionResultByID(arg0 flow.Identifier) (types.StorableTransactionResult, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) BlockByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) BlockByID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CollectionByID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CommitBlock(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) EventsByHeight(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LatestBlock() *gomock.Call
- func (mr *MockStoreMockRecorder) LedgerViewByHeight(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreBlock(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) TransactionByID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) TransactionResultByID(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) BlockByHeight ¶
BlockByHeight mocks base method
func (*MockStore) CollectionByID ¶
func (m *MockStore) CollectionByID(arg0 flow.Identifier) (flow.LightCollection, error)
CollectionByID mocks base method
func (*MockStore) CommitBlock ¶
func (m *MockStore) CommitBlock(arg0 flow.Block, arg1 []*flow.LightCollection, arg2 map[flow.Identifier]*flow.TransactionBody, arg3 map[flow.Identifier]*types.StorableTransactionResult, arg4 delta.Delta, arg5 []flow.Event) error
CommitBlock mocks base method
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) EventsByHeight ¶
EventsByHeight mocks base method
func (*MockStore) LatestBlock ¶
LatestBlock mocks base method
func (*MockStore) LedgerViewByHeight ¶
LedgerViewByHeight mocks base method
func (*MockStore) StoreBlock ¶
StoreBlock mocks base method
func (*MockStore) TransactionByID ¶
func (m *MockStore) TransactionByID(arg0 flow.Identifier) (flow.TransactionBody, error)
TransactionByID mocks base method
func (*MockStore) TransactionResultByID ¶
func (m *MockStore) TransactionResultByID(arg0 flow.Identifier) (types.StorableTransactionResult, error)
TransactionResultByID mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) BlockByHeight ¶
func (mr *MockStoreMockRecorder) BlockByHeight(arg0 interface{}) *gomock.Call
BlockByHeight indicates an expected call of BlockByHeight
func (*MockStoreMockRecorder) BlockByID ¶
func (mr *MockStoreMockRecorder) BlockByID(arg0 interface{}) *gomock.Call
BlockByID indicates an expected call of BlockByID
func (*MockStoreMockRecorder) CollectionByID ¶
func (mr *MockStoreMockRecorder) CollectionByID(arg0 interface{}) *gomock.Call
CollectionByID indicates an expected call of CollectionByID
func (*MockStoreMockRecorder) CommitBlock ¶
func (mr *MockStoreMockRecorder) CommitBlock(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CommitBlock indicates an expected call of CommitBlock
func (*MockStoreMockRecorder) EventsByHeight ¶
func (mr *MockStoreMockRecorder) EventsByHeight(arg0, arg1 interface{}) *gomock.Call
EventsByHeight indicates an expected call of EventsByHeight
func (*MockStoreMockRecorder) LatestBlock ¶
func (mr *MockStoreMockRecorder) LatestBlock() *gomock.Call
LatestBlock indicates an expected call of LatestBlock
func (*MockStoreMockRecorder) LedgerViewByHeight ¶
func (mr *MockStoreMockRecorder) LedgerViewByHeight(arg0 interface{}) *gomock.Call
LedgerViewByHeight indicates an expected call of LedgerViewByHeight
func (*MockStoreMockRecorder) StoreBlock ¶
func (mr *MockStoreMockRecorder) StoreBlock(arg0 interface{}) *gomock.Call
StoreBlock indicates an expected call of StoreBlock
func (*MockStoreMockRecorder) TransactionByID ¶
func (mr *MockStoreMockRecorder) TransactionByID(arg0 interface{}) *gomock.Call
TransactionByID indicates an expected call of TransactionByID
func (*MockStoreMockRecorder) TransactionResultByID ¶
func (mr *MockStoreMockRecorder) TransactionResultByID(arg0 interface{}) *gomock.Call
TransactionResultByID indicates an expected call of TransactionResultByID