mock

package
v1.14.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0, MIT Imports: 12 Imported by: 0

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 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

ComputeProof mocks base method.

func (*MockIGateway) EXPECT

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

func (*MockIGateway) IsUnsealed

func (m *MockIGateway) IsUnsealed(arg0 context.Context, arg1 address.Address, arg2 cid.Cid, arg3 storage.SectorRef, arg4 types.PaddedByteIndex, arg5 abi.PaddedPieceSize) (bool, error)

IsUnsealed mocks base method.

func (*MockIGateway) ListConnectedMiners

func (m *MockIGateway) ListConnectedMiners(arg0 context.Context) ([]address.Address, error)

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) 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 storage.SectorRef, arg4 types.PaddedByteIndex, arg5 abi.PaddedPieceSize, arg6 string) error

SectorsUnsealPiece mocks base method.

func (*MockIGateway) SupportNewAccount

func (m *MockIGateway) SupportNewAccount(arg0 context.Context, arg1 types.UUID, arg2 string) error

SupportNewAccount mocks base method.

func (*MockIGateway) Version added in v1.7.0

func (m *MockIGateway) Version(arg0 context.Context) (types.Version, error)

Version mocks base method.

func (*MockIGateway) WalletHas

func (m *MockIGateway) WalletHas(arg0 context.Context, arg1 string, arg2 address.Address) (bool, error)

WalletHas mocks base method.

func (*MockIGateway) WalletSign

func (m *MockIGateway) WalletSign(arg0 context.Context, arg1 string, arg2 address.Address, arg3 []byte, arg4 types.MsgMeta) (*crypto.Signature, error)

WalletSign 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) IsUnsealed

func (mr *MockIGatewayMockRecorder) IsUnsealed(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

IsUnsealed indicates an expected call of IsUnsealed.

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) 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 added in v1.7.0

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.

Jump to

Keyboard shortcuts

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