Documentation ¶
Overview ¶
Package mock_sealingpipeline is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) ActorAddress(arg0 context.Context) (address.Address, error)
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) SectorsList(arg0 context.Context) ([]abi.SectorNumber, error)
- func (m *MockAPI) SectorsListInStates(arg0 context.Context, arg1 []api.SectorState) ([]abi.SectorNumber, error)
- func (m *MockAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (api.SectorInfo, error)
- func (m *MockAPI) SectorsSummary(ctx context.Context) (map[api.SectorState]int, error)
- func (m *MockAPI) WorkerJobs(arg0 context.Context) (map[uuid.UUID][]storiface.WorkerJob, error)
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) ActorAddress(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) SectorsList(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) SectorsListInStates(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) SectorsStatus(ctx, sid, showOnChainInfo interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) SectorsSummary(ctx interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) WorkerJobs(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) ActorAddress ¶
ActorAddress mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPI) SectorsList ¶
SectorsList mocks base method.
func (*MockAPI) SectorsListInStates ¶
func (m *MockAPI) SectorsListInStates(arg0 context.Context, arg1 []api.SectorState) ([]abi.SectorNumber, error)
SectorsListInStates mocks base method.
func (*MockAPI) SectorsStatus ¶
func (m *MockAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (api.SectorInfo, error)
SectorsStatus mocks base method.
func (*MockAPI) SectorsSummary ¶
SectorsSummary mocks base method.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) ActorAddress ¶
func (mr *MockAPIMockRecorder) ActorAddress(arg0 interface{}) *gomock.Call
ActorAddress indicates an expected call of ActorAddress.
func (*MockAPIMockRecorder) SectorsList ¶
func (mr *MockAPIMockRecorder) SectorsList(arg0 interface{}) *gomock.Call
SectorsList indicates an expected call of SectorsList.
func (*MockAPIMockRecorder) SectorsListInStates ¶
func (mr *MockAPIMockRecorder) SectorsListInStates(arg0, arg1 interface{}) *gomock.Call
SectorsListInStates indicates an expected call of SectorsListInStates.
func (*MockAPIMockRecorder) SectorsStatus ¶
func (mr *MockAPIMockRecorder) SectorsStatus(ctx, sid, showOnChainInfo interface{}) *gomock.Call
SectorsStatus indicates an expected call of SectorsStatus.
func (*MockAPIMockRecorder) SectorsSummary ¶
func (mr *MockAPIMockRecorder) SectorsSummary(ctx interface{}) *gomock.Call
SectorsSummary indicates an expected call of SectorsSummary.
func (*MockAPIMockRecorder) WorkerJobs ¶
func (mr *MockAPIMockRecorder) WorkerJobs(arg0 interface{}) *gomock.Call
WorkerJobs indicates an expected call of WorkerJobs.