mocks

package
v1.11.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommitBatcherApi

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

MockCommitBatcherApi is a mock of CommitBatcherApi interface.

func NewMockCommitBatcherApi

func NewMockCommitBatcherApi(ctrl *gomock.Controller) *MockCommitBatcherApi

NewMockCommitBatcherApi creates a new mock instance.

func (*MockCommitBatcherApi) ChainBaseFee

func (m *MockCommitBatcherApi) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)

ChainBaseFee mocks base method.

func (*MockCommitBatcherApi) ChainHead

ChainHead mocks base method.

func (*MockCommitBatcherApi) EXPECT

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

func (*MockCommitBatcherApi) SendMsg

func (m *MockCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, arg4, arg5 big.Int, arg6 []byte) (cid.Cid, error)

SendMsg mocks base method.

func (*MockCommitBatcherApi) StateMinerAvailableBalance added in v1.11.1

func (m *MockCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)

StateMinerAvailableBalance mocks base method.

func (*MockCommitBatcherApi) StateMinerInfo

func (m *MockCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (miner.MinerInfo, error)

StateMinerInfo mocks base method.

func (*MockCommitBatcherApi) StateMinerInitialPledgeCollateral

func (m *MockCommitBatcherApi) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner0.SectorPreCommitInfo, arg3 sealing.TipSetToken) (big.Int, error)

StateMinerInitialPledgeCollateral mocks base method.

func (*MockCommitBatcherApi) StateNetworkVersion

func (m *MockCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)

StateNetworkVersion mocks base method.

func (*MockCommitBatcherApi) StateSectorPreCommitInfo

StateSectorPreCommitInfo mocks base method.

type MockCommitBatcherApiMockRecorder

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

MockCommitBatcherApiMockRecorder is the mock recorder for MockCommitBatcherApi.

func (*MockCommitBatcherApiMockRecorder) ChainBaseFee

func (mr *MockCommitBatcherApiMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call

ChainBaseFee indicates an expected call of ChainBaseFee.

func (*MockCommitBatcherApiMockRecorder) ChainHead

func (mr *MockCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call

ChainHead indicates an expected call of ChainHead.

func (*MockCommitBatcherApiMockRecorder) SendMsg

func (mr *MockCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockCommitBatcherApiMockRecorder) StateMinerAvailableBalance added in v1.11.1

func (mr *MockCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call

StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.

func (*MockCommitBatcherApiMockRecorder) StateMinerInfo

func (mr *MockCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call

StateMinerInfo indicates an expected call of StateMinerInfo.

func (*MockCommitBatcherApiMockRecorder) StateMinerInitialPledgeCollateral

func (mr *MockCommitBatcherApiMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

StateMinerInitialPledgeCollateral indicates an expected call of StateMinerInitialPledgeCollateral.

func (*MockCommitBatcherApiMockRecorder) StateNetworkVersion

func (mr *MockCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call

StateNetworkVersion indicates an expected call of StateNetworkVersion.

func (*MockCommitBatcherApiMockRecorder) StateSectorPreCommitInfo

func (mr *MockCommitBatcherApiMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

StateSectorPreCommitInfo indicates an expected call of StateSectorPreCommitInfo.

type MockPreCommitBatcherApi

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

MockPreCommitBatcherApi is a mock of PreCommitBatcherApi interface.

func NewMockPreCommitBatcherApi

func NewMockPreCommitBatcherApi(ctrl *gomock.Controller) *MockPreCommitBatcherApi

NewMockPreCommitBatcherApi creates a new mock instance.

func (*MockPreCommitBatcherApi) ChainHead

ChainHead mocks base method.

func (*MockPreCommitBatcherApi) EXPECT

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

func (*MockPreCommitBatcherApi) SendMsg

func (m *MockPreCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, arg4, arg5 big.Int, arg6 []byte) (cid.Cid, error)

SendMsg mocks base method.

func (*MockPreCommitBatcherApi) StateMinerAvailableBalance added in v1.11.1

func (m *MockPreCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)

StateMinerAvailableBalance mocks base method.

func (*MockPreCommitBatcherApi) StateMinerInfo

StateMinerInfo mocks base method.

type MockPreCommitBatcherApiMockRecorder

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

MockPreCommitBatcherApiMockRecorder is the mock recorder for MockPreCommitBatcherApi.

func (*MockPreCommitBatcherApiMockRecorder) ChainHead

func (mr *MockPreCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call

ChainHead indicates an expected call of ChainHead.

func (*MockPreCommitBatcherApiMockRecorder) SendMsg

func (mr *MockPreCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockPreCommitBatcherApiMockRecorder) StateMinerAvailableBalance added in v1.11.1

func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call

StateMinerAvailableBalance indicates an expected call of StateMinerAvailableBalance.

func (*MockPreCommitBatcherApiMockRecorder) StateMinerInfo

func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call

StateMinerInfo indicates an expected call of StateMinerInfo.

Jump to

Keyboard shortcuts

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