mock

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0, MIT Imports: 10 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 MockIMessager

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

MockIMessager is a mock of IMessager interface.

func NewMockIMessager

func NewMockIMessager(ctrl *gomock.Controller) *MockIMessager

NewMockIMessager creates a new mock instance.

func (*MockIMessager) ActiveAddress

func (m *MockIMessager) ActiveAddress(arg0 context.Context, arg1 address.Address) error

ActiveAddress mocks base method.

func (*MockIMessager) ClearUnFillMessage

func (m *MockIMessager) ClearUnFillMessage(arg0 context.Context, arg1 address.Address) (int, error)

ClearUnFillMessage mocks base method.

func (*MockIMessager) DeleteAddress

func (m *MockIMessager) DeleteAddress(arg0 context.Context, arg1 address.Address) error

DeleteAddress mocks base method.

func (*MockIMessager) DeleteNode

func (m *MockIMessager) DeleteNode(arg0 context.Context, arg1 string) error

DeleteNode mocks base method.

func (*MockIMessager) EXPECT

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

func (*MockIMessager) ForbiddenAddress

func (m *MockIMessager) ForbiddenAddress(arg0 context.Context, arg1 address.Address) error

ForbiddenAddress mocks base method.

func (*MockIMessager) GetActorCfgByID added in v1.11.0

func (m *MockIMessager) GetActorCfgByID(arg0 context.Context, arg1 types0.UUID) (*messager.ActorCfg, error)

GetActorCfgByID mocks base method.

func (*MockIMessager) GetAddress

func (m *MockIMessager) GetAddress(arg0 context.Context, arg1 address.Address) (*messager.Address, error)

GetAddress mocks base method.

func (*MockIMessager) GetMessageByFromAndNonce

func (m *MockIMessager) GetMessageByFromAndNonce(arg0 context.Context, arg1 address.Address, arg2 uint64) (*messager.Message, error)

GetMessageByFromAndNonce mocks base method.

func (*MockIMessager) GetMessageBySignedCid

func (m *MockIMessager) GetMessageBySignedCid(arg0 context.Context, arg1 cid.Cid) (*messager.Message, error)

GetMessageBySignedCid mocks base method.

func (*MockIMessager) GetMessageByUid

func (m *MockIMessager) GetMessageByUid(arg0 context.Context, arg1 string) (*messager.Message, error)

GetMessageByUid mocks base method.

func (*MockIMessager) GetMessageByUnsignedCid

func (m *MockIMessager) GetMessageByUnsignedCid(arg0 context.Context, arg1 cid.Cid) (*messager.Message, error)

GetMessageByUnsignedCid mocks base method.

func (*MockIMessager) GetNode

func (m *MockIMessager) GetNode(arg0 context.Context, arg1 string) (*messager.Node, error)

GetNode mocks base method.

func (*MockIMessager) GetSharedParams

func (m *MockIMessager) GetSharedParams(arg0 context.Context) (*messager.SharedSpec, error)

GetSharedParams mocks base method.

func (*MockIMessager) HasAddress

func (m *MockIMessager) HasAddress(arg0 context.Context, arg1 address.Address) (bool, error)

HasAddress mocks base method.

func (*MockIMessager) HasMessageByUid

func (m *MockIMessager) HasMessageByUid(arg0 context.Context, arg1 string) (bool, error)

HasMessageByUid mocks base method.

func (*MockIMessager) HasNode

func (m *MockIMessager) HasNode(arg0 context.Context, arg1 string) (bool, error)

HasNode mocks base method.

func (*MockIMessager) ListActorCfg added in v1.11.0

func (m *MockIMessager) ListActorCfg(arg0 context.Context) ([]*messager.ActorCfg, error)

ListActorCfg mocks base method.

func (*MockIMessager) ListAddress

func (m *MockIMessager) ListAddress(arg0 context.Context) ([]*messager.Address, error)

ListAddress mocks base method.

func (*MockIMessager) ListBlockedMessage

func (m *MockIMessager) ListBlockedMessage(arg0 context.Context, arg1 address.Address, arg2 time.Duration) ([]*messager.Message, error)

ListBlockedMessage mocks base method.

func (*MockIMessager) ListFailedMessage

func (m *MockIMessager) ListFailedMessage(arg0 context.Context) ([]*messager.Message, error)

ListFailedMessage mocks base method.

func (*MockIMessager) ListMessage

func (m *MockIMessager) ListMessage(arg0 context.Context, arg1 *messager.MsgQueryParams) ([]*messager.Message, error)

ListMessage mocks base method.

func (*MockIMessager) ListMessageByAddress

func (m *MockIMessager) ListMessageByAddress(arg0 context.Context, arg1 address.Address) ([]*messager.Message, error)

ListMessageByAddress mocks base method.

func (*MockIMessager) ListMessageByFromState

func (m *MockIMessager) ListMessageByFromState(arg0 context.Context, arg1 address.Address, arg2 messager.MessageState, arg3 bool, arg4, arg5 int) ([]*messager.Message, error)

ListMessageByFromState mocks base method.

func (*MockIMessager) ListNode

func (m *MockIMessager) ListNode(arg0 context.Context) ([]*messager.Node, error)

ListNode mocks base method.

func (*MockIMessager) LogList added in v1.9.0

func (m *MockIMessager) LogList(arg0 context.Context) ([]string, error)

LogList mocks base method.

func (*MockIMessager) MarkBadMessage

func (m *MockIMessager) MarkBadMessage(arg0 context.Context, arg1 string) error

MarkBadMessage mocks base method.

func (*MockIMessager) NetAddrsListen added in v1.7.0

func (m *MockIMessager) NetAddrsListen(arg0 context.Context) (peer.AddrInfo, error)

NetAddrsListen mocks base method.

func (*MockIMessager) NetConnect added in v1.7.0

func (m *MockIMessager) NetConnect(arg0 context.Context, arg1 peer.AddrInfo) error

NetConnect mocks base method.

func (*MockIMessager) NetFindPeer added in v1.7.0

func (m *MockIMessager) NetFindPeer(arg0 context.Context, arg1 peer.ID) (peer.AddrInfo, error)

NetFindPeer mocks base method.

func (*MockIMessager) NetPeers added in v1.7.0

func (m *MockIMessager) NetPeers(arg0 context.Context) ([]peer.AddrInfo, error)

NetPeers mocks base method.

func (*MockIMessager) PushMessage

func (m *MockIMessager) PushMessage(arg0 context.Context, arg1 *types.Message, arg2 *messager.SendSpec) (string, error)

PushMessage mocks base method.

func (*MockIMessager) PushMessageWithId

func (m *MockIMessager) PushMessageWithId(arg0 context.Context, arg1 string, arg2 *types.Message, arg3 *messager.SendSpec) (string, error)

PushMessageWithId mocks base method.

func (*MockIMessager) RecoverFailedMsg

func (m *MockIMessager) RecoverFailedMsg(arg0 context.Context, arg1 address.Address) ([]string, error)

RecoverFailedMsg mocks base method.

func (*MockIMessager) ReplaceMessage

func (m *MockIMessager) ReplaceMessage(arg0 context.Context, arg1 *messager.ReplacMessageParams) (cid.Cid, error)

ReplaceMessage mocks base method.

func (*MockIMessager) RepublishMessage

func (m *MockIMessager) RepublishMessage(arg0 context.Context, arg1 string) error

RepublishMessage mocks base method.

func (*MockIMessager) SaveActorCfg added in v1.11.0

func (m *MockIMessager) SaveActorCfg(arg0 context.Context, arg1 *messager.ActorCfg) error

SaveActorCfg mocks base method.

func (*MockIMessager) SaveNode

func (m *MockIMessager) SaveNode(arg0 context.Context, arg1 *messager.Node) error

SaveNode mocks base method.

func (*MockIMessager) Send

Send mocks base method.

func (*MockIMessager) SetFeeParams

func (m *MockIMessager) SetFeeParams(arg0 context.Context, arg1 *messager.AddressSpec) error

SetFeeParams mocks base method.

func (*MockIMessager) SetLogLevel

func (m *MockIMessager) SetLogLevel(arg0 context.Context, arg1, arg2 string) error

SetLogLevel mocks base method.

func (*MockIMessager) SetSelectMsgNum

func (m *MockIMessager) SetSelectMsgNum(arg0 context.Context, arg1 address.Address, arg2 uint64) error

SetSelectMsgNum mocks base method.

func (*MockIMessager) SetSharedParams

func (m *MockIMessager) SetSharedParams(arg0 context.Context, arg1 *messager.SharedSpec) error

SetSharedParams mocks base method.

func (*MockIMessager) UpdateActorCfg added in v1.11.0

func (m *MockIMessager) UpdateActorCfg(arg0 context.Context, arg1 types0.UUID, arg2 *messager.ChangeGasSpecParams) error

UpdateActorCfg mocks base method.

func (*MockIMessager) UpdateAllFilledMessage

func (m *MockIMessager) UpdateAllFilledMessage(arg0 context.Context) (int, error)

UpdateAllFilledMessage mocks base method.

func (*MockIMessager) UpdateFilledMessageByID

func (m *MockIMessager) UpdateFilledMessageByID(arg0 context.Context, arg1 string) (string, error)

UpdateFilledMessageByID mocks base method.

func (*MockIMessager) UpdateMessageStateByID

func (m *MockIMessager) UpdateMessageStateByID(arg0 context.Context, arg1 string, arg2 messager.MessageState) error

UpdateMessageStateByID mocks base method.

func (*MockIMessager) UpdateNonce

func (m *MockIMessager) UpdateNonce(arg0 context.Context, arg1 address.Address, arg2 uint64) error

UpdateNonce mocks base method.

func (*MockIMessager) Version added in v1.7.0

func (m *MockIMessager) Version(arg0 context.Context) (types0.Version, error)

Version mocks base method.

func (*MockIMessager) WaitMessage

func (m *MockIMessager) WaitMessage(arg0 context.Context, arg1 string, arg2 uint64) (*messager.Message, error)

WaitMessage mocks base method.

func (*MockIMessager) WalletHas

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

WalletHas mocks base method.

type MockIMessagerMockRecorder

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

MockIMessagerMockRecorder is the mock recorder for MockIMessager.

func (*MockIMessagerMockRecorder) ActiveAddress

func (mr *MockIMessagerMockRecorder) ActiveAddress(arg0, arg1 interface{}) *gomock.Call

ActiveAddress indicates an expected call of ActiveAddress.

func (*MockIMessagerMockRecorder) ClearUnFillMessage

func (mr *MockIMessagerMockRecorder) ClearUnFillMessage(arg0, arg1 interface{}) *gomock.Call

ClearUnFillMessage indicates an expected call of ClearUnFillMessage.

func (*MockIMessagerMockRecorder) DeleteAddress

func (mr *MockIMessagerMockRecorder) DeleteAddress(arg0, arg1 interface{}) *gomock.Call

DeleteAddress indicates an expected call of DeleteAddress.

func (*MockIMessagerMockRecorder) DeleteNode

func (mr *MockIMessagerMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode.

func (*MockIMessagerMockRecorder) ForbiddenAddress

func (mr *MockIMessagerMockRecorder) ForbiddenAddress(arg0, arg1 interface{}) *gomock.Call

ForbiddenAddress indicates an expected call of ForbiddenAddress.

func (*MockIMessagerMockRecorder) GetActorCfgByID added in v1.11.0

func (mr *MockIMessagerMockRecorder) GetActorCfgByID(arg0, arg1 interface{}) *gomock.Call

GetActorCfgByID indicates an expected call of GetActorCfgByID.

func (*MockIMessagerMockRecorder) GetAddress

func (mr *MockIMessagerMockRecorder) GetAddress(arg0, arg1 interface{}) *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockIMessagerMockRecorder) GetMessageByFromAndNonce

func (mr *MockIMessagerMockRecorder) GetMessageByFromAndNonce(arg0, arg1, arg2 interface{}) *gomock.Call

GetMessageByFromAndNonce indicates an expected call of GetMessageByFromAndNonce.

func (*MockIMessagerMockRecorder) GetMessageBySignedCid

func (mr *MockIMessagerMockRecorder) GetMessageBySignedCid(arg0, arg1 interface{}) *gomock.Call

GetMessageBySignedCid indicates an expected call of GetMessageBySignedCid.

func (*MockIMessagerMockRecorder) GetMessageByUid

func (mr *MockIMessagerMockRecorder) GetMessageByUid(arg0, arg1 interface{}) *gomock.Call

GetMessageByUid indicates an expected call of GetMessageByUid.

func (*MockIMessagerMockRecorder) GetMessageByUnsignedCid

func (mr *MockIMessagerMockRecorder) GetMessageByUnsignedCid(arg0, arg1 interface{}) *gomock.Call

GetMessageByUnsignedCid indicates an expected call of GetMessageByUnsignedCid.

func (*MockIMessagerMockRecorder) GetNode

func (mr *MockIMessagerMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode.

func (*MockIMessagerMockRecorder) GetSharedParams

func (mr *MockIMessagerMockRecorder) GetSharedParams(arg0 interface{}) *gomock.Call

GetSharedParams indicates an expected call of GetSharedParams.

func (*MockIMessagerMockRecorder) HasAddress

func (mr *MockIMessagerMockRecorder) HasAddress(arg0, arg1 interface{}) *gomock.Call

HasAddress indicates an expected call of HasAddress.

func (*MockIMessagerMockRecorder) HasMessageByUid

func (mr *MockIMessagerMockRecorder) HasMessageByUid(arg0, arg1 interface{}) *gomock.Call

HasMessageByUid indicates an expected call of HasMessageByUid.

func (*MockIMessagerMockRecorder) HasNode

func (mr *MockIMessagerMockRecorder) HasNode(arg0, arg1 interface{}) *gomock.Call

HasNode indicates an expected call of HasNode.

func (*MockIMessagerMockRecorder) ListActorCfg added in v1.11.0

func (mr *MockIMessagerMockRecorder) ListActorCfg(arg0 interface{}) *gomock.Call

ListActorCfg indicates an expected call of ListActorCfg.

func (*MockIMessagerMockRecorder) ListAddress

func (mr *MockIMessagerMockRecorder) ListAddress(arg0 interface{}) *gomock.Call

ListAddress indicates an expected call of ListAddress.

func (*MockIMessagerMockRecorder) ListBlockedMessage

func (mr *MockIMessagerMockRecorder) ListBlockedMessage(arg0, arg1, arg2 interface{}) *gomock.Call

ListBlockedMessage indicates an expected call of ListBlockedMessage.

func (*MockIMessagerMockRecorder) ListFailedMessage

func (mr *MockIMessagerMockRecorder) ListFailedMessage(arg0 interface{}) *gomock.Call

ListFailedMessage indicates an expected call of ListFailedMessage.

func (*MockIMessagerMockRecorder) ListMessage

func (mr *MockIMessagerMockRecorder) ListMessage(arg0, arg1 interface{}) *gomock.Call

ListMessage indicates an expected call of ListMessage.

func (*MockIMessagerMockRecorder) ListMessageByAddress

func (mr *MockIMessagerMockRecorder) ListMessageByAddress(arg0, arg1 interface{}) *gomock.Call

ListMessageByAddress indicates an expected call of ListMessageByAddress.

func (*MockIMessagerMockRecorder) ListMessageByFromState

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

ListMessageByFromState indicates an expected call of ListMessageByFromState.

func (*MockIMessagerMockRecorder) ListNode

func (mr *MockIMessagerMockRecorder) ListNode(arg0 interface{}) *gomock.Call

ListNode indicates an expected call of ListNode.

func (*MockIMessagerMockRecorder) LogList added in v1.9.0

func (mr *MockIMessagerMockRecorder) LogList(arg0 interface{}) *gomock.Call

LogList indicates an expected call of LogList.

func (*MockIMessagerMockRecorder) MarkBadMessage

func (mr *MockIMessagerMockRecorder) MarkBadMessage(arg0, arg1 interface{}) *gomock.Call

MarkBadMessage indicates an expected call of MarkBadMessage.

func (*MockIMessagerMockRecorder) NetAddrsListen added in v1.7.0

func (mr *MockIMessagerMockRecorder) NetAddrsListen(arg0 interface{}) *gomock.Call

NetAddrsListen indicates an expected call of NetAddrsListen.

func (*MockIMessagerMockRecorder) NetConnect added in v1.7.0

func (mr *MockIMessagerMockRecorder) NetConnect(arg0, arg1 interface{}) *gomock.Call

NetConnect indicates an expected call of NetConnect.

func (*MockIMessagerMockRecorder) NetFindPeer added in v1.7.0

func (mr *MockIMessagerMockRecorder) NetFindPeer(arg0, arg1 interface{}) *gomock.Call

NetFindPeer indicates an expected call of NetFindPeer.

func (*MockIMessagerMockRecorder) NetPeers added in v1.7.0

func (mr *MockIMessagerMockRecorder) NetPeers(arg0 interface{}) *gomock.Call

NetPeers indicates an expected call of NetPeers.

func (*MockIMessagerMockRecorder) PushMessage

func (mr *MockIMessagerMockRecorder) PushMessage(arg0, arg1, arg2 interface{}) *gomock.Call

PushMessage indicates an expected call of PushMessage.

func (*MockIMessagerMockRecorder) PushMessageWithId

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

PushMessageWithId indicates an expected call of PushMessageWithId.

func (*MockIMessagerMockRecorder) RecoverFailedMsg

func (mr *MockIMessagerMockRecorder) RecoverFailedMsg(arg0, arg1 interface{}) *gomock.Call

RecoverFailedMsg indicates an expected call of RecoverFailedMsg.

func (*MockIMessagerMockRecorder) ReplaceMessage

func (mr *MockIMessagerMockRecorder) ReplaceMessage(arg0, arg1 interface{}) *gomock.Call

ReplaceMessage indicates an expected call of ReplaceMessage.

func (*MockIMessagerMockRecorder) RepublishMessage

func (mr *MockIMessagerMockRecorder) RepublishMessage(arg0, arg1 interface{}) *gomock.Call

RepublishMessage indicates an expected call of RepublishMessage.

func (*MockIMessagerMockRecorder) SaveActorCfg added in v1.11.0

func (mr *MockIMessagerMockRecorder) SaveActorCfg(arg0, arg1 interface{}) *gomock.Call

SaveActorCfg indicates an expected call of SaveActorCfg.

func (*MockIMessagerMockRecorder) SaveNode

func (mr *MockIMessagerMockRecorder) SaveNode(arg0, arg1 interface{}) *gomock.Call

SaveNode indicates an expected call of SaveNode.

func (*MockIMessagerMockRecorder) Send

func (mr *MockIMessagerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockIMessagerMockRecorder) SetFeeParams

func (mr *MockIMessagerMockRecorder) SetFeeParams(arg0, arg1 interface{}) *gomock.Call

SetFeeParams indicates an expected call of SetFeeParams.

func (*MockIMessagerMockRecorder) SetLogLevel

func (mr *MockIMessagerMockRecorder) SetLogLevel(arg0, arg1, arg2 interface{}) *gomock.Call

SetLogLevel indicates an expected call of SetLogLevel.

func (*MockIMessagerMockRecorder) SetSelectMsgNum

func (mr *MockIMessagerMockRecorder) SetSelectMsgNum(arg0, arg1, arg2 interface{}) *gomock.Call

SetSelectMsgNum indicates an expected call of SetSelectMsgNum.

func (*MockIMessagerMockRecorder) SetSharedParams

func (mr *MockIMessagerMockRecorder) SetSharedParams(arg0, arg1 interface{}) *gomock.Call

SetSharedParams indicates an expected call of SetSharedParams.

func (*MockIMessagerMockRecorder) UpdateActorCfg added in v1.11.0

func (mr *MockIMessagerMockRecorder) UpdateActorCfg(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateActorCfg indicates an expected call of UpdateActorCfg.

func (*MockIMessagerMockRecorder) UpdateAllFilledMessage

func (mr *MockIMessagerMockRecorder) UpdateAllFilledMessage(arg0 interface{}) *gomock.Call

UpdateAllFilledMessage indicates an expected call of UpdateAllFilledMessage.

func (*MockIMessagerMockRecorder) UpdateFilledMessageByID

func (mr *MockIMessagerMockRecorder) UpdateFilledMessageByID(arg0, arg1 interface{}) *gomock.Call

UpdateFilledMessageByID indicates an expected call of UpdateFilledMessageByID.

func (*MockIMessagerMockRecorder) UpdateMessageStateByID

func (mr *MockIMessagerMockRecorder) UpdateMessageStateByID(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateMessageStateByID indicates an expected call of UpdateMessageStateByID.

func (*MockIMessagerMockRecorder) UpdateNonce

func (mr *MockIMessagerMockRecorder) UpdateNonce(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateNonce indicates an expected call of UpdateNonce.

func (*MockIMessagerMockRecorder) Version added in v1.7.0

func (mr *MockIMessagerMockRecorder) Version(arg0 interface{}) *gomock.Call

Version indicates an expected call of Version.

func (*MockIMessagerMockRecorder) WaitMessage

func (mr *MockIMessagerMockRecorder) WaitMessage(arg0, arg1, arg2 interface{}) *gomock.Call

WaitMessage indicates an expected call of WaitMessage.

func (*MockIMessagerMockRecorder) WalletHas

func (mr *MockIMessagerMockRecorder) WalletHas(arg0, arg1 interface{}) *gomock.Call

WalletHas indicates an expected call of WalletHas.

Jump to

Keyboard shortcuts

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