mock

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: 8 Imported by: 1

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

func (m *MockAPI) ActorAddress(arg0 context.Context) (address.Address, error)

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

func (m *MockAPI) SectorsList(arg0 context.Context) ([]abi.SectorNumber, error)

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(arg0 context.Context, arg1 abi.SectorNumber, arg2 bool) (api.SectorInfo, error)

SectorsStatus mocks base method.

func (*MockAPI) SectorsSummary

func (m *MockAPI) SectorsSummary(arg0 context.Context) (map[api.SectorState]int, error)

SectorsSummary mocks base method.

func (*MockAPI) WorkerJobs

func (m *MockAPI) WorkerJobs(arg0 context.Context) (map[uuid.UUID][]storiface.WorkerJob, error)

WorkerJobs 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(arg0, arg1, arg2 interface{}) *gomock.Call

SectorsStatus indicates an expected call of SectorsStatus.

func (*MockAPIMockRecorder) SectorsSummary

func (mr *MockAPIMockRecorder) SectorsSummary(arg0 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.

Jump to

Keyboard shortcuts

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