mocks_booster_http

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks_booster_http is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHttpServerApi

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

MockHttpServerApi is a mock of HttpServerApi interface.

func NewMockHttpServerApi

func NewMockHttpServerApi(ctrl *gomock.Controller) *MockHttpServerApi

NewMockHttpServerApi creates a new mock instance.

func (*MockHttpServerApi) EXPECT

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

func (*MockHttpServerApi) GetPieceInfo

func (m *MockHttpServerApi) GetPieceInfo(pieceCID cid.Cid) (*piecestore.PieceInfo, error)

GetPieceInfo mocks base method.

func (*MockHttpServerApi) IsUnsealed

func (m *MockHttpServerApi) IsUnsealed(ctx context.Context, sectorID abi.SectorNumber, offset, length abi.UnpaddedPieceSize) (bool, error)

IsUnsealed mocks base method.

func (*MockHttpServerApi) UnsealSectorAt

func (m *MockHttpServerApi) UnsealSectorAt(ctx context.Context, sectorID abi.SectorNumber, pieceOffset, length abi.UnpaddedPieceSize) (mount.Reader, error)

UnsealSectorAt mocks base method.

type MockHttpServerApiMockRecorder

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

MockHttpServerApiMockRecorder is the mock recorder for MockHttpServerApi.

func (*MockHttpServerApiMockRecorder) GetPieceInfo

func (mr *MockHttpServerApiMockRecorder) GetPieceInfo(pieceCID interface{}) *gomock.Call

GetPieceInfo indicates an expected call of GetPieceInfo.

func (*MockHttpServerApiMockRecorder) IsUnsealed

func (mr *MockHttpServerApiMockRecorder) IsUnsealed(ctx, sectorID, offset, length interface{}) *gomock.Call

IsUnsealed indicates an expected call of IsUnsealed.

func (*MockHttpServerApiMockRecorder) UnsealSectorAt

func (mr *MockHttpServerApiMockRecorder) UnsealSectorAt(ctx, sectorID, pieceOffset, length interface{}) *gomock.Call

UnsealSectorAt indicates an expected call of UnsealSectorAt.

Jump to

Keyboard shortcuts

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