Documentation ¶
Overview ¶
Package mocks_booster_http is a generated GoMock package.
Index ¶
- type MockHttpServerApi
- func (m *MockHttpServerApi) EXPECT() *MockHttpServerApiMockRecorder
- func (m *MockHttpServerApi) GetPieceInfo(pieceCID cid.Cid) (*piecestore.PieceInfo, error)
- func (m *MockHttpServerApi) IsUnsealed(ctx context.Context, sectorID abi.SectorNumber, ...) (bool, error)
- func (m *MockHttpServerApi) UnsealSectorAt(ctx context.Context, sectorID abi.SectorNumber, ...) (mount.Reader, error)
- type MockHttpServerApiMockRecorder
- func (mr *MockHttpServerApiMockRecorder) GetPieceInfo(pieceCID interface{}) *gomock.Call
- func (mr *MockHttpServerApiMockRecorder) IsUnsealed(ctx, sectorID, offset, length interface{}) *gomock.Call
- func (mr *MockHttpServerApiMockRecorder) UnsealSectorAt(ctx, sectorID, pieceOffset, length interface{}) *gomock.Call
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 ¶
func (m *MockHttpServerApi) EXPECT() *MockHttpServerApiMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.