Documentation ¶
Overview ¶
Package mock_dagstore is a generated GoMock package.
Index ¶
- type MockLotusAccessor
- func (m *MockLotusAccessor) EXPECT() *MockLotusAccessorMockRecorder
- func (m *MockLotusAccessor) FetchUnsealedPiece(ctx context.Context, pieceCid cid.Cid) (io.ReadCloser, error)
- func (m *MockLotusAccessor) GetUnpaddedCARSize(ctx context.Context, pieceCid cid.Cid) (uint64, error)
- func (m *MockLotusAccessor) IsUnsealed(ctx context.Context, pieceCid cid.Cid) (bool, error)
- func (m *MockLotusAccessor) Start(ctx context.Context) error
- type MockLotusAccessorMockRecorder
- func (mr *MockLotusAccessorMockRecorder) FetchUnsealedPiece(ctx, pieceCid interface{}) *gomock.Call
- func (mr *MockLotusAccessorMockRecorder) GetUnpaddedCARSize(ctx, pieceCid interface{}) *gomock.Call
- func (mr *MockLotusAccessorMockRecorder) IsUnsealed(ctx, pieceCid interface{}) *gomock.Call
- func (mr *MockLotusAccessorMockRecorder) Start(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLotusAccessor ¶
type MockLotusAccessor struct {
// contains filtered or unexported fields
}
MockLotusAccessor is a mock of LotusAccessor interface.
func NewMockLotusAccessor ¶
func NewMockLotusAccessor(ctrl *gomock.Controller) *MockLotusAccessor
NewMockLotusAccessor creates a new mock instance.
func (*MockLotusAccessor) EXPECT ¶
func (m *MockLotusAccessor) EXPECT() *MockLotusAccessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLotusAccessor) FetchUnsealedPiece ¶
func (m *MockLotusAccessor) FetchUnsealedPiece(ctx context.Context, pieceCid cid.Cid) (io.ReadCloser, error)
FetchUnsealedPiece mocks base method.
func (*MockLotusAccessor) GetUnpaddedCARSize ¶
func (m *MockLotusAccessor) GetUnpaddedCARSize(ctx context.Context, pieceCid cid.Cid) (uint64, error)
GetUnpaddedCARSize mocks base method.
func (*MockLotusAccessor) IsUnsealed ¶
IsUnsealed mocks base method.
type MockLotusAccessorMockRecorder ¶
type MockLotusAccessorMockRecorder struct {
// contains filtered or unexported fields
}
MockLotusAccessorMockRecorder is the mock recorder for MockLotusAccessor.
func (*MockLotusAccessorMockRecorder) FetchUnsealedPiece ¶
func (mr *MockLotusAccessorMockRecorder) FetchUnsealedPiece(ctx, pieceCid interface{}) *gomock.Call
FetchUnsealedPiece indicates an expected call of FetchUnsealedPiece.
func (*MockLotusAccessorMockRecorder) GetUnpaddedCARSize ¶
func (mr *MockLotusAccessorMockRecorder) GetUnpaddedCARSize(ctx, pieceCid interface{}) *gomock.Call
GetUnpaddedCARSize indicates an expected call of GetUnpaddedCARSize.
func (*MockLotusAccessorMockRecorder) IsUnsealed ¶
func (mr *MockLotusAccessorMockRecorder) IsUnsealed(ctx, pieceCid interface{}) *gomock.Call
IsUnsealed indicates an expected call of IsUnsealed.
func (*MockLotusAccessorMockRecorder) Start ¶
func (mr *MockLotusAccessorMockRecorder) Start(ctx interface{}) *gomock.Call
Start indicates an expected call of Start.