Versions in this module Expand all Collapse all v0 v0.4.0 Feb 1, 2024 v0.2.0 Nov 29, 2022 Changes in this version + type MockDagPool struct + func NewMockDagPool(ctrl *gomock.Controller) *MockDagPool + func (m *MockDagPool) Add(arg0 context.Context, arg1 blocks.Block, arg2, arg3 string, arg4 bool) error + func (m *MockDagPool) AddUser(arg0 dpuser.DagPoolUser, arg1, arg2 string) error + func (m *MockDagPool) Close() error + func (m *MockDagPool) EXPECT() *MockDagPoolMockRecorder + func (m *MockDagPool) Get(arg0 context.Context, arg1 cid.Cid, arg2, arg3 string) (blocks.Block, error) + func (m *MockDagPool) GetSize(arg0 context.Context, arg1 cid.Cid, arg2, arg3 string) (int, error) + func (m *MockDagPool) Pin(arg0 context.Context, arg1 cid.Cid, arg2, arg3 string) error + func (m *MockDagPool) QueryUser(arg0, arg1, arg2 string) (*dpuser.DagPoolUser, error) + func (m *MockDagPool) Remove(arg0 context.Context, arg1 cid.Cid, arg2, arg3 string, arg4 bool) error + func (m *MockDagPool) RemoveUser(arg0, arg1, arg2 string) error + func (m *MockDagPool) UnPin(arg0 context.Context, arg1 cid.Cid, arg2, arg3 string) error + func (m *MockDagPool) UpdateUser(arg0 dpuser.DagPoolUser, arg1, arg2 string) error + type MockDagPoolMockRecorder struct + func (mr *MockDagPoolMockRecorder) Add(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) AddUser(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) Close() *gomock.Call + func (mr *MockDagPoolMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) GetSize(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) Pin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) QueryUser(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) Remove(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) RemoveUser(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) UnPin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockDagPoolMockRecorder) UpdateUser(arg0, arg1, arg2 interface{}) *gomock.Call