Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIGateway
- func (m *MockIGateway) AddNewAddress(arg0 context.Context, arg1 types.UUID, arg2 []address.Address) error
- func (m *MockIGateway) ComputeProof(arg0 context.Context, arg1 address.Address, arg2 []proof.ExtendedSectorInfo, ...) ([]proof.PoStProof, error)
- func (m *MockIGateway) EXPECT() *MockIGatewayMockRecorder
- func (m *MockIGateway) ListConnectedMiners(arg0 context.Context) ([]address.Address, error)
- func (m *MockIGateway) ListMarketConnectionsState(arg0 context.Context) ([]gateway.MarketConnectionState, error)
- func (m *MockIGateway) ListMinerConnection(arg0 context.Context, arg1 address.Address) (*gateway.MinerState, error)
- func (m *MockIGateway) ListWalletInfo(arg0 context.Context) ([]*gateway.WalletDetail, error)
- func (m *MockIGateway) ListWalletInfoByWallet(arg0 context.Context, arg1 string) (*gateway.WalletDetail, error)
- func (m *MockIGateway) ListenMarketEvent(arg0 context.Context, arg1 *gateway.MarketRegisterPolicy) (<-chan *gateway.RequestEvent, error)
- func (m *MockIGateway) ListenProofEvent(arg0 context.Context, arg1 *gateway.ProofRegisterPolicy) (<-chan *gateway.RequestEvent, error)
- func (m *MockIGateway) ListenWalletEvent(arg0 context.Context, arg1 *gateway.WalletRegisterPolicy) (<-chan *gateway.RequestEvent, error)
- func (m *MockIGateway) RegisterReverse(arg0 context.Context, arg1 gateway.HostKey, arg2 string) error
- func (m *MockIGateway) RemoveAddress(arg0 context.Context, arg1 types.UUID, arg2 []address.Address) error
- func (m *MockIGateway) ResponseMarketEvent(arg0 context.Context, arg1 *gateway.ResponseEvent) error
- func (m *MockIGateway) ResponseProofEvent(arg0 context.Context, arg1 *gateway.ResponseEvent) error
- func (m *MockIGateway) ResponseWalletEvent(arg0 context.Context, arg1 *gateway.ResponseEvent) error
- func (m *MockIGateway) SectorsUnsealPiece(arg0 context.Context, arg1 address.Address, arg2 cid.Cid, ...) (gateway.UnsealState, error)
- func (m *MockIGateway) SupportNewAccount(arg0 context.Context, arg1 types.UUID, arg2 string) error
- func (m *MockIGateway) Version(arg0 context.Context) (types.Version, error)
- func (m *MockIGateway) WalletHas(arg0 context.Context, arg1 address.Address, arg2 []string) (bool, error)
- func (m *MockIGateway) WalletSign(arg0 context.Context, arg1 address.Address, arg2 []string, arg3 []byte, ...) (*crypto.Signature, error)
- type MockIGatewayMockRecorder
- func (mr *MockIGatewayMockRecorder) AddNewAddress(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ComputeProof(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListConnectedMiners(arg0 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListMarketConnectionsState(arg0 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListMinerConnection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListWalletInfo(arg0 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListWalletInfoByWallet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListenMarketEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListenProofEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ListenWalletEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) RegisterReverse(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) RemoveAddress(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ResponseMarketEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ResponseProofEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) ResponseWalletEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) SectorsUnsealPiece(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) SupportNewAccount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) Version(arg0 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) WalletHas(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIGatewayMockRecorder) WalletSign(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIGateway ¶
type MockIGateway struct {
// contains filtered or unexported fields
}
MockIGateway is a mock of IGateway interface.
func NewMockIGateway ¶
func NewMockIGateway(ctrl *gomock.Controller) *MockIGateway
NewMockIGateway creates a new mock instance.
func (*MockIGateway) AddNewAddress ¶
func (m *MockIGateway) AddNewAddress(arg0 context.Context, arg1 types.UUID, arg2 []address.Address) error
AddNewAddress mocks base method.
func (*MockIGateway) ComputeProof ¶
func (m *MockIGateway) ComputeProof(arg0 context.Context, arg1 address.Address, arg2 []proof.ExtendedSectorInfo, arg3 abi.PoStRandomness, arg4 abi.ChainEpoch, arg5 network.Version) ([]proof.PoStProof, error)
ComputeProof mocks base method.
func (*MockIGateway) EXPECT ¶
func (m *MockIGateway) EXPECT() *MockIGatewayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIGateway) ListConnectedMiners ¶
ListConnectedMiners mocks base method.
func (*MockIGateway) ListMarketConnectionsState ¶
func (m *MockIGateway) ListMarketConnectionsState(arg0 context.Context) ([]gateway.MarketConnectionState, error)
ListMarketConnectionsState mocks base method.
func (*MockIGateway) ListMinerConnection ¶
func (m *MockIGateway) ListMinerConnection(arg0 context.Context, arg1 address.Address) (*gateway.MinerState, error)
ListMinerConnection mocks base method.
func (*MockIGateway) ListWalletInfo ¶
func (m *MockIGateway) ListWalletInfo(arg0 context.Context) ([]*gateway.WalletDetail, error)
ListWalletInfo mocks base method.
func (*MockIGateway) ListWalletInfoByWallet ¶
func (m *MockIGateway) ListWalletInfoByWallet(arg0 context.Context, arg1 string) (*gateway.WalletDetail, error)
ListWalletInfoByWallet mocks base method.
func (*MockIGateway) ListenMarketEvent ¶
func (m *MockIGateway) ListenMarketEvent(arg0 context.Context, arg1 *gateway.MarketRegisterPolicy) (<-chan *gateway.RequestEvent, error)
ListenMarketEvent mocks base method.
func (*MockIGateway) ListenProofEvent ¶
func (m *MockIGateway) ListenProofEvent(arg0 context.Context, arg1 *gateway.ProofRegisterPolicy) (<-chan *gateway.RequestEvent, error)
ListenProofEvent mocks base method.
func (*MockIGateway) ListenWalletEvent ¶
func (m *MockIGateway) ListenWalletEvent(arg0 context.Context, arg1 *gateway.WalletRegisterPolicy) (<-chan *gateway.RequestEvent, error)
ListenWalletEvent mocks base method.
func (*MockIGateway) RegisterReverse ¶ added in v1.13.0
func (m *MockIGateway) RegisterReverse(arg0 context.Context, arg1 gateway.HostKey, arg2 string) error
RegisterReverse mocks base method.
func (*MockIGateway) RemoveAddress ¶
func (m *MockIGateway) RemoveAddress(arg0 context.Context, arg1 types.UUID, arg2 []address.Address) error
RemoveAddress mocks base method.
func (*MockIGateway) ResponseMarketEvent ¶
func (m *MockIGateway) ResponseMarketEvent(arg0 context.Context, arg1 *gateway.ResponseEvent) error
ResponseMarketEvent mocks base method.
func (*MockIGateway) ResponseProofEvent ¶
func (m *MockIGateway) ResponseProofEvent(arg0 context.Context, arg1 *gateway.ResponseEvent) error
ResponseProofEvent mocks base method.
func (*MockIGateway) ResponseWalletEvent ¶
func (m *MockIGateway) ResponseWalletEvent(arg0 context.Context, arg1 *gateway.ResponseEvent) error
ResponseWalletEvent mocks base method.
func (*MockIGateway) SectorsUnsealPiece ¶
func (m *MockIGateway) SectorsUnsealPiece(arg0 context.Context, arg1 address.Address, arg2 cid.Cid, arg3 abi.SectorNumber, arg4 types.UnpaddedByteIndex, arg5 abi.UnpaddedPieceSize, arg6 string) (gateway.UnsealState, error)
SectorsUnsealPiece mocks base method.
func (*MockIGateway) SupportNewAccount ¶
SupportNewAccount mocks base method.
type MockIGatewayMockRecorder ¶
type MockIGatewayMockRecorder struct {
// contains filtered or unexported fields
}
MockIGatewayMockRecorder is the mock recorder for MockIGateway.
func (*MockIGatewayMockRecorder) AddNewAddress ¶
func (mr *MockIGatewayMockRecorder) AddNewAddress(arg0, arg1, arg2 interface{}) *gomock.Call
AddNewAddress indicates an expected call of AddNewAddress.
func (*MockIGatewayMockRecorder) ComputeProof ¶
func (mr *MockIGatewayMockRecorder) ComputeProof(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ComputeProof indicates an expected call of ComputeProof.
func (*MockIGatewayMockRecorder) ListConnectedMiners ¶
func (mr *MockIGatewayMockRecorder) ListConnectedMiners(arg0 interface{}) *gomock.Call
ListConnectedMiners indicates an expected call of ListConnectedMiners.
func (*MockIGatewayMockRecorder) ListMarketConnectionsState ¶
func (mr *MockIGatewayMockRecorder) ListMarketConnectionsState(arg0 interface{}) *gomock.Call
ListMarketConnectionsState indicates an expected call of ListMarketConnectionsState.
func (*MockIGatewayMockRecorder) ListMinerConnection ¶
func (mr *MockIGatewayMockRecorder) ListMinerConnection(arg0, arg1 interface{}) *gomock.Call
ListMinerConnection indicates an expected call of ListMinerConnection.
func (*MockIGatewayMockRecorder) ListWalletInfo ¶
func (mr *MockIGatewayMockRecorder) ListWalletInfo(arg0 interface{}) *gomock.Call
ListWalletInfo indicates an expected call of ListWalletInfo.
func (*MockIGatewayMockRecorder) ListWalletInfoByWallet ¶
func (mr *MockIGatewayMockRecorder) ListWalletInfoByWallet(arg0, arg1 interface{}) *gomock.Call
ListWalletInfoByWallet indicates an expected call of ListWalletInfoByWallet.
func (*MockIGatewayMockRecorder) ListenMarketEvent ¶
func (mr *MockIGatewayMockRecorder) ListenMarketEvent(arg0, arg1 interface{}) *gomock.Call
ListenMarketEvent indicates an expected call of ListenMarketEvent.
func (*MockIGatewayMockRecorder) ListenProofEvent ¶
func (mr *MockIGatewayMockRecorder) ListenProofEvent(arg0, arg1 interface{}) *gomock.Call
ListenProofEvent indicates an expected call of ListenProofEvent.
func (*MockIGatewayMockRecorder) ListenWalletEvent ¶
func (mr *MockIGatewayMockRecorder) ListenWalletEvent(arg0, arg1 interface{}) *gomock.Call
ListenWalletEvent indicates an expected call of ListenWalletEvent.
func (*MockIGatewayMockRecorder) RegisterReverse ¶ added in v1.13.0
func (mr *MockIGatewayMockRecorder) RegisterReverse(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterReverse indicates an expected call of RegisterReverse.
func (*MockIGatewayMockRecorder) RemoveAddress ¶
func (mr *MockIGatewayMockRecorder) RemoveAddress(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveAddress indicates an expected call of RemoveAddress.
func (*MockIGatewayMockRecorder) ResponseMarketEvent ¶
func (mr *MockIGatewayMockRecorder) ResponseMarketEvent(arg0, arg1 interface{}) *gomock.Call
ResponseMarketEvent indicates an expected call of ResponseMarketEvent.
func (*MockIGatewayMockRecorder) ResponseProofEvent ¶
func (mr *MockIGatewayMockRecorder) ResponseProofEvent(arg0, arg1 interface{}) *gomock.Call
ResponseProofEvent indicates an expected call of ResponseProofEvent.
func (*MockIGatewayMockRecorder) ResponseWalletEvent ¶
func (mr *MockIGatewayMockRecorder) ResponseWalletEvent(arg0, arg1 interface{}) *gomock.Call
ResponseWalletEvent indicates an expected call of ResponseWalletEvent.
func (*MockIGatewayMockRecorder) SectorsUnsealPiece ¶
func (mr *MockIGatewayMockRecorder) SectorsUnsealPiece(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
SectorsUnsealPiece indicates an expected call of SectorsUnsealPiece.
func (*MockIGatewayMockRecorder) SupportNewAccount ¶
func (mr *MockIGatewayMockRecorder) SupportNewAccount(arg0, arg1, arg2 interface{}) *gomock.Call
SupportNewAccount indicates an expected call of SupportNewAccount.
func (*MockIGatewayMockRecorder) Version ¶
func (mr *MockIGatewayMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.
func (*MockIGatewayMockRecorder) WalletHas ¶
func (mr *MockIGatewayMockRecorder) WalletHas(arg0, arg1, arg2 interface{}) *gomock.Call
WalletHas indicates an expected call of WalletHas.
func (*MockIGatewayMockRecorder) WalletSign ¶
func (mr *MockIGatewayMockRecorder) WalletSign(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
WalletSign indicates an expected call of WalletSign.