Documentation ¶
Overview ¶
Package mock_dagstore is a generated GoMock package.
Index ¶
- type MockMinerAPI
- func (m *MockMinerAPI) EXPECT() *MockMinerAPIMockRecorder
- func (m *MockMinerAPI) FetchUnsealedPiece(arg0 context.Context, arg1 cid.Cid) (mount.Reader, error)
- func (m *MockMinerAPI) GetUnpaddedCARSize(arg0 context.Context, arg1 cid.Cid) (uint64, error)
- func (m *MockMinerAPI) IsUnsealed(arg0 context.Context, arg1 cid.Cid) (bool, error)
- func (m *MockMinerAPI) Start(arg0 context.Context) error
- type MockMinerAPIMockRecorder
- func (mr *MockMinerAPIMockRecorder) FetchUnsealedPiece(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMinerAPIMockRecorder) GetUnpaddedCARSize(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMinerAPIMockRecorder) IsUnsealed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMinerAPIMockRecorder) Start(arg0 interface{}) *gomock.Call
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
func (m *MockMinerAPI) EXPECT() *MockMinerAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMinerAPI) FetchUnsealedPiece ¶ added in v1.13.2
FetchUnsealedPiece mocks base method.
func (*MockMinerAPI) GetUnpaddedCARSize ¶ added in v1.13.2
GetUnpaddedCARSize mocks base method.
func (*MockMinerAPI) IsUnsealed ¶ added in v1.13.2
IsUnsealed 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.
Click to show internal directories.
Click to hide internal directories.