mock_dagstore

package
v1.21.0-rpc-p02-mirror... Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 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 MockMinerAPI added in v1.13.2

type MockMinerAPI struct {
	// contains filtered or unexported fields
}

MockMinerAPI is a mock of MinerAPI interface.

func NewMockMinerAPI added in v1.13.2

func NewMockMinerAPI(ctrl *gomock.Controller) *MockMinerAPI

NewMockMinerAPI creates a new mock instance.

func (*MockMinerAPI) EXPECT added in v1.13.2

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMinerAPI) FetchUnsealedPiece added in v1.13.2

func (m *MockMinerAPI) FetchUnsealedPiece(arg0 context.Context, arg1 cid.Cid) (mount.Reader, error)

FetchUnsealedPiece mocks base method.

func (*MockMinerAPI) GetUnpaddedCARSize added in v1.13.2

func (m *MockMinerAPI) GetUnpaddedCARSize(arg0 context.Context, arg1 cid.Cid) (uint64, error)

GetUnpaddedCARSize mocks base method.

func (*MockMinerAPI) IsUnsealed added in v1.13.2

func (m *MockMinerAPI) IsUnsealed(arg0 context.Context, arg1 cid.Cid) (bool, error)

IsUnsealed mocks base method.

func (*MockMinerAPI) Start added in v1.13.2

func (m *MockMinerAPI) Start(arg0 context.Context) error

Start mocks base method.

type MockMinerAPIMockRecorder added in v1.13.2

type MockMinerAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockMinerAPIMockRecorder is the mock recorder for MockMinerAPI.

func (*MockMinerAPIMockRecorder) FetchUnsealedPiece added in v1.13.2

func (mr *MockMinerAPIMockRecorder) FetchUnsealedPiece(arg0, arg1 interface{}) *gomock.Call

FetchUnsealedPiece indicates an expected call of FetchUnsealedPiece.

func (*MockMinerAPIMockRecorder) GetUnpaddedCARSize added in v1.13.2

func (mr *MockMinerAPIMockRecorder) GetUnpaddedCARSize(arg0, arg1 interface{}) *gomock.Call

GetUnpaddedCARSize indicates an expected call of GetUnpaddedCARSize.

func (*MockMinerAPIMockRecorder) IsUnsealed added in v1.13.2

func (mr *MockMinerAPIMockRecorder) IsUnsealed(arg0, arg1 interface{}) *gomock.Call

IsUnsealed indicates an expected call of IsUnsealed.

func (*MockMinerAPIMockRecorder) Start added in v1.13.2

func (mr *MockMinerAPIMockRecorder) Start(arg0 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