Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Add(arg0 context.Context, arg1 []blocks.Block) error
- func (m *MockStore) Delete(arg0 context.Context, arg1 cid.Cid) error
- func (m *MockStore) DeleteMany(arg0 context.Context, arg1 []cid.Cid) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 cid.Cid) (blocks.Block, error)
- func (m *MockStore) GetMany(arg0 context.Context, arg1 []cid.Cid) <-chan blocks.Block
- func (m *MockStore) IndexGet(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockStore) IndexPut(arg0 context.Context, arg1 string, arg2 []byte) error
- func (m *MockStore) Init(arg0 *app.App) error
- func (m *MockStore) Name() string
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Add(arg0, arg1 any) *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteMany(arg0, arg1 any) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetMany(arg0, arg1 any) *gomock.Call
- func (mr *MockStoreMockRecorder) IndexGet(arg0, arg1 any) *gomock.Call
- func (mr *MockStoreMockRecorder) IndexPut(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockStoreMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockStoreMockRecorder) Name() *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) DeleteMany ¶
DeleteMany mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Add ¶
func (mr *MockStoreMockRecorder) Add(arg0, arg1 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) DeleteMany ¶
func (mr *MockStoreMockRecorder) DeleteMany(arg0, arg1 any) *gomock.Call
DeleteMany indicates an expected call of DeleteMany.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) GetMany ¶
func (mr *MockStoreMockRecorder) GetMany(arg0, arg1 any) *gomock.Call
GetMany indicates an expected call of GetMany.
func (*MockStoreMockRecorder) IndexGet ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) IndexGet(arg0, arg1 any) *gomock.Call
IndexGet indicates an expected call of IndexGet.
func (*MockStoreMockRecorder) IndexPut ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) IndexPut(arg0, arg1, arg2 any) *gomock.Call
IndexPut indicates an expected call of IndexPut.
func (*MockStoreMockRecorder) Init ¶
func (mr *MockStoreMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockStoreMockRecorder) Name ¶
func (mr *MockStoreMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.