Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPoolClient
- func (m *MockPoolClient) AllKeysChan(arg0 context.Context) (<-chan cid.Cid, error)
- func (m *MockPoolClient) Close(arg0 context.Context)
- func (m *MockPoolClient) DeleteBlock(arg0 context.Context, arg1 cid.Cid) error
- func (m *MockPoolClient) EXPECT() *MockPoolClientMockRecorder
- func (m *MockPoolClient) Get(arg0 context.Context, arg1 cid.Cid) (blocks.Block, error)
- func (m *MockPoolClient) GetSize(arg0 context.Context, arg1 cid.Cid) (int, error)
- func (m *MockPoolClient) Has(arg0 context.Context, arg1 cid.Cid) (bool, error)
- func (m *MockPoolClient) HashOnRead(arg0 bool)
- func (m *MockPoolClient) Put(arg0 context.Context, arg1 blocks.Block) error
- func (m *MockPoolClient) PutMany(arg0 context.Context, arg1 []blocks.Block) error
- type MockPoolClientMockRecorder
- func (mr *MockPoolClientMockRecorder) AllKeysChan(arg0 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) DeleteBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) GetSize(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) HashOnRead(arg0 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolClientMockRecorder) PutMany(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPoolClient ¶
type MockPoolClient struct {
// contains filtered or unexported fields
}
MockPoolClient is a mock of PoolClient interface.
func NewMockPoolClient ¶
func NewMockPoolClient(ctrl *gomock.Controller) *MockPoolClient
NewMockPoolClient creates a new mock instance.
func (*MockPoolClient) AllKeysChan ¶
AllKeysChan mocks base method.
func (*MockPoolClient) Close ¶
func (m *MockPoolClient) Close(arg0 context.Context)
Close mocks base method.
func (*MockPoolClient) DeleteBlock ¶
DeleteBlock mocks base method.
func (*MockPoolClient) EXPECT ¶
func (m *MockPoolClient) EXPECT() *MockPoolClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolClient) HashOnRead ¶
func (m *MockPoolClient) HashOnRead(arg0 bool)
HashOnRead mocks base method.
type MockPoolClientMockRecorder ¶
type MockPoolClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolClientMockRecorder is the mock recorder for MockPoolClient.
func (*MockPoolClientMockRecorder) AllKeysChan ¶
func (mr *MockPoolClientMockRecorder) AllKeysChan(arg0 interface{}) *gomock.Call
AllKeysChan indicates an expected call of AllKeysChan.
func (*MockPoolClientMockRecorder) Close ¶
func (mr *MockPoolClientMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockPoolClientMockRecorder) DeleteBlock ¶
func (mr *MockPoolClientMockRecorder) DeleteBlock(arg0, arg1 interface{}) *gomock.Call
DeleteBlock indicates an expected call of DeleteBlock.
func (*MockPoolClientMockRecorder) Get ¶
func (mr *MockPoolClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPoolClientMockRecorder) GetSize ¶
func (mr *MockPoolClientMockRecorder) GetSize(arg0, arg1 interface{}) *gomock.Call
GetSize indicates an expected call of GetSize.
func (*MockPoolClientMockRecorder) Has ¶
func (mr *MockPoolClientMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call
Has indicates an expected call of Has.
func (*MockPoolClientMockRecorder) HashOnRead ¶
func (mr *MockPoolClientMockRecorder) HashOnRead(arg0 interface{}) *gomock.Call
HashOnRead indicates an expected call of HashOnRead.
func (*MockPoolClientMockRecorder) Put ¶
func (mr *MockPoolClientMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockPoolClientMockRecorder) PutMany ¶
func (mr *MockPoolClientMockRecorder) PutMany(arg0, arg1 interface{}) *gomock.Call
PutMany indicates an expected call of PutMany.