Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCommitBatcherApi
- func (m *MockCommitBatcherApi) ChainBaseFee(arg0 context.Context, arg1 sealing.TipSetToken) (big.Int, error)
- func (m *MockCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
- func (m *MockCommitBatcherApi) EXPECT() *MockCommitBatcherApiMockRecorder
- func (m *MockCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, ...) (cid.Cid, error)
- func (m *MockCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
- func (m *MockCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (miner.MinerInfo, error)
- func (m *MockCommitBatcherApi) StateMinerInitialPledgeCollateral(arg0 context.Context, arg1 address.Address, arg2 miner0.SectorPreCommitInfo, ...) (big.Int, error)
- func (m *MockCommitBatcherApi) StateNetworkVersion(arg0 context.Context, arg1 sealing.TipSetToken) (network.Version, error)
- func (m *MockCommitBatcherApi) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, ...) (*miner.SectorPreCommitOnChainInfo, error)
- type MockCommitBatcherApiMockRecorder
- func (mr *MockCommitBatcherApiMockRecorder) ChainBaseFee(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateMinerInitialPledgeCollateral(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateNetworkVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommitBatcherApiMockRecorder) StateSectorPreCommitInfo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockPreCommitBatcherApi
- func (m *MockPreCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
- func (m *MockPreCommitBatcherApi) EXPECT() *MockPreCommitBatcherApiMockRecorder
- func (m *MockPreCommitBatcherApi) SendMsg(arg0 context.Context, arg1, arg2 address.Address, arg3 abi.MethodNum, ...) (cid.Cid, error)
- func (m *MockPreCommitBatcherApi) StateMinerAvailableBalance(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (big.Int, error)
- func (m *MockPreCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (miner.MinerInfo, error)
- type MockPreCommitBatcherApiMockRecorder
- func (mr *MockPreCommitBatcherApiMockRecorder) ChainHead(arg0 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) SendMsg(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerAvailableBalance(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPreCommitBatcherApiMockRecorder) StateMinerInfo(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
func (m *MockCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
ChainHead mocks base method.
func (*MockCommitBatcherApi) EXPECT ¶
func (m *MockCommitBatcherApi) EXPECT() *MockCommitBatcherApiMockRecorder
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 ¶
func (m *MockCommitBatcherApi) StateSectorPreCommitInfo(arg0 context.Context, arg1 address.Address, arg2 abi.SectorNumber, arg3 sealing.TipSetToken) (*miner.SectorPreCommitOnChainInfo, error)
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 ¶
func (m *MockPreCommitBatcherApi) ChainHead(arg0 context.Context) (sealing.TipSetToken, abi.ChainEpoch, error)
ChainHead mocks base method.
func (*MockPreCommitBatcherApi) EXPECT ¶
func (m *MockPreCommitBatcherApi) EXPECT() *MockPreCommitBatcherApiMockRecorder
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 ¶
func (m *MockPreCommitBatcherApi) StateMinerInfo(arg0 context.Context, arg1 address.Address, arg2 sealing.TipSetToken) (miner.MinerInfo, error)
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.