mock_store

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

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) Add

func (m *MockStore) Add(arg0 context.Context, arg1 []blocks.Block) error

Add mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 context.Context, arg1 cid.Cid) error

Delete mocks base method.

func (*MockStore) DeleteMany

func (m *MockStore) DeleteMany(arg0 context.Context, arg1 []cid.Cid) error

DeleteMany 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) Get

func (m *MockStore) Get(arg0 context.Context, arg1 cid.Cid) (blocks.Block, error)

Get mocks base method.

func (*MockStore) GetMany

func (m *MockStore) GetMany(arg0 context.Context, arg1 []cid.Cid) <-chan blocks.Block

GetMany mocks base method.

func (*MockStore) IndexGet added in v0.5.0

func (m *MockStore) IndexGet(arg0 context.Context, arg1 string) ([]byte, error)

IndexGet mocks base method.

func (*MockStore) IndexPut added in v0.5.0

func (m *MockStore) IndexPut(arg0 context.Context, arg1 string, arg2 []byte) error

IndexPut mocks base method.

func (*MockStore) Init

func (m *MockStore) Init(arg0 *app.App) error

Init mocks base method.

func (*MockStore) Name

func (m *MockStore) Name() string

Name mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL