mock_dagstore

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_dagstore is a generated GoMock package.

Index

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

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

func (m *MockLotusAccessor) IsUnsealed(ctx context.Context, pieceCid cid.Cid) (bool, error)

IsUnsealed mocks base method.

func (*MockLotusAccessor) Start

func (m *MockLotusAccessor) Start(ctx context.Context) error

Start 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.

Jump to

Keyboard shortcuts

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