mock

package
v1.10.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0, MIT Imports: 9 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 MockIFullAPI

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

MockIFullAPI is a mock of IFullAPI interface.

func NewMockIFullAPI

func NewMockIFullAPI(ctrl *gomock.Controller) *MockIFullAPI

NewMockIFullAPI creates a new mock instance.

func (*MockIFullAPI) AddMethodIntoKeyBind

func (m *MockIFullAPI) AddMethodIntoKeyBind(arg0 context.Context, arg1 string, arg2 []string) (*wallet.KeyBind, error)

AddMethodIntoKeyBind mocks base method.

func (*MockIFullAPI) AddMsgTypeIntoKeyBind

func (m *MockIFullAPI) AddMsgTypeIntoKeyBind(arg0 context.Context, arg1 string, arg2 []int) (*wallet.KeyBind, error)

AddMsgTypeIntoKeyBind mocks base method.

func (*MockIFullAPI) AddNewAddress

func (m *MockIFullAPI) AddNewAddress(arg0 context.Context, arg1 []address.Address) error

AddNewAddress mocks base method.

func (*MockIFullAPI) AddSupportAccount

func (m *MockIFullAPI) AddSupportAccount(arg0 context.Context, arg1 string) error

AddSupportAccount mocks base method.

func (*MockIFullAPI) AuthNew

func (m *MockIFullAPI) AuthNew(arg0 context.Context, arg1 []auth.Permission) ([]byte, error)

AuthNew mocks base method.

func (*MockIFullAPI) AuthVerify

func (m *MockIFullAPI) AuthVerify(arg0 context.Context, arg1 string) ([]auth.Permission, error)

AuthVerify mocks base method.

func (*MockIFullAPI) ContainWallet

func (m *MockIFullAPI) ContainWallet(arg0 context.Context, arg1 address.Address) bool

ContainWallet mocks base method.

func (*MockIFullAPI) EXPECT

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

func (*MockIFullAPI) GetGroupByName

func (m *MockIFullAPI) GetGroupByName(arg0 context.Context, arg1 string) (*wallet.Group, error)

GetGroupByName mocks base method.

func (*MockIFullAPI) GetKeyBindByName

func (m *MockIFullAPI) GetKeyBindByName(arg0 context.Context, arg1 string) (*wallet.KeyBind, error)

GetKeyBindByName mocks base method.

func (*MockIFullAPI) GetKeyBinds

func (m *MockIFullAPI) GetKeyBinds(arg0 context.Context, arg1 address.Address) ([]*wallet.KeyBind, error)

GetKeyBinds mocks base method.

func (*MockIFullAPI) GetMethodTemplateByName

func (m *MockIFullAPI) GetMethodTemplateByName(arg0 context.Context, arg1 string) (*wallet.MethodTemplate, error)

GetMethodTemplateByName mocks base method.

func (*MockIFullAPI) GetMsgTypeTemplate

func (m *MockIFullAPI) GetMsgTypeTemplate(arg0 context.Context, arg1 string) (*wallet.MsgTypeTemplate, error)

GetMsgTypeTemplate mocks base method.

func (*MockIFullAPI) GetWalletTokenInfo

func (m *MockIFullAPI) GetWalletTokenInfo(arg0 context.Context, arg1 string) (*wallet.GroupAuth, error)

GetWalletTokenInfo mocks base method.

func (*MockIFullAPI) GetWalletTokensByGroup

func (m *MockIFullAPI) GetWalletTokensByGroup(arg0 context.Context, arg1 string) ([]string, error)

GetWalletTokensByGroup mocks base method.

func (*MockIFullAPI) ListGroups

func (m *MockIFullAPI) ListGroups(arg0 context.Context, arg1, arg2 int) ([]*wallet.Group, error)

ListGroups mocks base method.

func (*MockIFullAPI) ListKeyBinds

func (m *MockIFullAPI) ListKeyBinds(arg0 context.Context, arg1, arg2 int) ([]*wallet.KeyBind, error)

ListKeyBinds mocks base method.

func (*MockIFullAPI) ListMethodTemplates

func (m *MockIFullAPI) ListMethodTemplates(arg0 context.Context, arg1, arg2 int) ([]*wallet.MethodTemplate, error)

ListMethodTemplates mocks base method.

func (*MockIFullAPI) ListMsgTypeTemplates

func (m *MockIFullAPI) ListMsgTypeTemplates(arg0 context.Context, arg1, arg2 int) ([]*wallet.MsgTypeTemplate, error)

ListMsgTypeTemplates mocks base method.

func (*MockIFullAPI) Lock

func (m *MockIFullAPI) Lock(arg0 context.Context, arg1 string) error

Lock mocks base method.

func (*MockIFullAPI) LockState

func (m *MockIFullAPI) LockState(arg0 context.Context) bool

LockState mocks base method.

func (*MockIFullAPI) LogList

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

LogList mocks base method.

func (*MockIFullAPI) LogSetLevel

func (m *MockIFullAPI) LogSetLevel(arg0 context.Context, arg1, arg2 string) error

LogSetLevel mocks base method.

func (*MockIFullAPI) NewGroup

func (m *MockIFullAPI) NewGroup(arg0 context.Context, arg1 string, arg2 []string) error

NewGroup mocks base method.

func (*MockIFullAPI) NewKeyBindCustom

func (m *MockIFullAPI) NewKeyBindCustom(arg0 context.Context, arg1 string, arg2 address.Address, arg3 []int, arg4 []string) error

NewKeyBindCustom mocks base method.

func (*MockIFullAPI) NewKeyBindFromTemplate

func (m *MockIFullAPI) NewKeyBindFromTemplate(arg0 context.Context, arg1 string, arg2 address.Address, arg3, arg4 string) error

NewKeyBindFromTemplate mocks base method.

func (*MockIFullAPI) NewMethodTemplate

func (m *MockIFullAPI) NewMethodTemplate(arg0 context.Context, arg1 string, arg2 []string) error

NewMethodTemplate mocks base method.

func (*MockIFullAPI) NewMsgTypeTemplate

func (m *MockIFullAPI) NewMsgTypeTemplate(arg0 context.Context, arg1 string, arg2 []int) error

NewMsgTypeTemplate mocks base method.

func (*MockIFullAPI) NewStToken

func (m *MockIFullAPI) NewStToken(arg0 context.Context, arg1 string) (string, error)

NewStToken mocks base method.

func (*MockIFullAPI) RemoveGroup

func (m *MockIFullAPI) RemoveGroup(arg0 context.Context, arg1 string) error

RemoveGroup mocks base method.

func (*MockIFullAPI) RemoveKeyBind

func (m *MockIFullAPI) RemoveKeyBind(arg0 context.Context, arg1 string) error

RemoveKeyBind mocks base method.

func (*MockIFullAPI) RemoveKeyBindByAddress

func (m *MockIFullAPI) RemoveKeyBindByAddress(arg0 context.Context, arg1 address.Address) (int64, error)

RemoveKeyBindByAddress mocks base method.

func (*MockIFullAPI) RemoveMethodFromKeyBind

func (m *MockIFullAPI) RemoveMethodFromKeyBind(arg0 context.Context, arg1 string, arg2 []string) (*wallet.KeyBind, error)

RemoveMethodFromKeyBind mocks base method.

func (*MockIFullAPI) RemoveMethodTemplate

func (m *MockIFullAPI) RemoveMethodTemplate(arg0 context.Context, arg1 string) error

RemoveMethodTemplate mocks base method.

func (*MockIFullAPI) RemoveMsgTypeFromKeyBind

func (m *MockIFullAPI) RemoveMsgTypeFromKeyBind(arg0 context.Context, arg1 string, arg2 []int) (*wallet.KeyBind, error)

RemoveMsgTypeFromKeyBind mocks base method.

func (*MockIFullAPI) RemoveMsgTypeTemplate

func (m *MockIFullAPI) RemoveMsgTypeTemplate(arg0 context.Context, arg1 string) error

RemoveMsgTypeTemplate mocks base method.

func (*MockIFullAPI) RemoveStToken

func (m *MockIFullAPI) RemoveStToken(arg0 context.Context, arg1 string) error

RemoveStToken mocks base method.

func (*MockIFullAPI) ScopeWallet

func (m *MockIFullAPI) ScopeWallet(arg0 context.Context) (*wallet.AddressScope, error)

ScopeWallet mocks base method.

func (*MockIFullAPI) SetPassword

func (m *MockIFullAPI) SetPassword(arg0 context.Context, arg1 string) error

SetPassword mocks base method.

func (*MockIFullAPI) Unlock

func (m *MockIFullAPI) Unlock(arg0 context.Context, arg1 string) error

Unlock mocks base method.

func (*MockIFullAPI) Verify

func (m *MockIFullAPI) Verify(arg0 context.Context, arg1 address.Address, arg2 types0.MsgType, arg3 *types.Message) error

Verify mocks base method.

func (*MockIFullAPI) VerifyPassword

func (m *MockIFullAPI) VerifyPassword(arg0 context.Context, arg1 string) error

VerifyPassword mocks base method.

func (*MockIFullAPI) Version

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

Version mocks base method.

func (*MockIFullAPI) WalletDelete

func (m *MockIFullAPI) WalletDelete(arg0 context.Context, arg1 address.Address) error

WalletDelete mocks base method.

func (*MockIFullAPI) WalletExport

func (m *MockIFullAPI) WalletExport(arg0 context.Context, arg1 address.Address) (*types0.KeyInfo, error)

WalletExport mocks base method.

func (*MockIFullAPI) WalletHas

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

WalletHas mocks base method.

func (*MockIFullAPI) WalletImport

func (m *MockIFullAPI) WalletImport(arg0 context.Context, arg1 *types0.KeyInfo) (address.Address, error)

WalletImport mocks base method.

func (*MockIFullAPI) WalletList

func (m *MockIFullAPI) WalletList(arg0 context.Context) ([]address.Address, error)

WalletList mocks base method.

func (*MockIFullAPI) WalletNew

func (m *MockIFullAPI) WalletNew(arg0 context.Context, arg1 types0.KeyType) (address.Address, error)

WalletNew mocks base method.

func (*MockIFullAPI) WalletSign

func (m *MockIFullAPI) WalletSign(arg0 context.Context, arg1 address.Address, arg2 []byte, arg3 types0.MsgMeta) (*crypto.Signature, error)

WalletSign mocks base method.

type MockIFullAPIMockRecorder

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

MockIFullAPIMockRecorder is the mock recorder for MockIFullAPI.

func (*MockIFullAPIMockRecorder) AddMethodIntoKeyBind

func (mr *MockIFullAPIMockRecorder) AddMethodIntoKeyBind(arg0, arg1, arg2 interface{}) *gomock.Call

AddMethodIntoKeyBind indicates an expected call of AddMethodIntoKeyBind.

func (*MockIFullAPIMockRecorder) AddMsgTypeIntoKeyBind

func (mr *MockIFullAPIMockRecorder) AddMsgTypeIntoKeyBind(arg0, arg1, arg2 interface{}) *gomock.Call

AddMsgTypeIntoKeyBind indicates an expected call of AddMsgTypeIntoKeyBind.

func (*MockIFullAPIMockRecorder) AddNewAddress

func (mr *MockIFullAPIMockRecorder) AddNewAddress(arg0, arg1 interface{}) *gomock.Call

AddNewAddress indicates an expected call of AddNewAddress.

func (*MockIFullAPIMockRecorder) AddSupportAccount

func (mr *MockIFullAPIMockRecorder) AddSupportAccount(arg0, arg1 interface{}) *gomock.Call

AddSupportAccount indicates an expected call of AddSupportAccount.

func (*MockIFullAPIMockRecorder) AuthNew

func (mr *MockIFullAPIMockRecorder) AuthNew(arg0, arg1 interface{}) *gomock.Call

AuthNew indicates an expected call of AuthNew.

func (*MockIFullAPIMockRecorder) AuthVerify

func (mr *MockIFullAPIMockRecorder) AuthVerify(arg0, arg1 interface{}) *gomock.Call

AuthVerify indicates an expected call of AuthVerify.

func (*MockIFullAPIMockRecorder) ContainWallet

func (mr *MockIFullAPIMockRecorder) ContainWallet(arg0, arg1 interface{}) *gomock.Call

ContainWallet indicates an expected call of ContainWallet.

func (*MockIFullAPIMockRecorder) GetGroupByName

func (mr *MockIFullAPIMockRecorder) GetGroupByName(arg0, arg1 interface{}) *gomock.Call

GetGroupByName indicates an expected call of GetGroupByName.

func (*MockIFullAPIMockRecorder) GetKeyBindByName

func (mr *MockIFullAPIMockRecorder) GetKeyBindByName(arg0, arg1 interface{}) *gomock.Call

GetKeyBindByName indicates an expected call of GetKeyBindByName.

func (*MockIFullAPIMockRecorder) GetKeyBinds

func (mr *MockIFullAPIMockRecorder) GetKeyBinds(arg0, arg1 interface{}) *gomock.Call

GetKeyBinds indicates an expected call of GetKeyBinds.

func (*MockIFullAPIMockRecorder) GetMethodTemplateByName

func (mr *MockIFullAPIMockRecorder) GetMethodTemplateByName(arg0, arg1 interface{}) *gomock.Call

GetMethodTemplateByName indicates an expected call of GetMethodTemplateByName.

func (*MockIFullAPIMockRecorder) GetMsgTypeTemplate

func (mr *MockIFullAPIMockRecorder) GetMsgTypeTemplate(arg0, arg1 interface{}) *gomock.Call

GetMsgTypeTemplate indicates an expected call of GetMsgTypeTemplate.

func (*MockIFullAPIMockRecorder) GetWalletTokenInfo

func (mr *MockIFullAPIMockRecorder) GetWalletTokenInfo(arg0, arg1 interface{}) *gomock.Call

GetWalletTokenInfo indicates an expected call of GetWalletTokenInfo.

func (*MockIFullAPIMockRecorder) GetWalletTokensByGroup

func (mr *MockIFullAPIMockRecorder) GetWalletTokensByGroup(arg0, arg1 interface{}) *gomock.Call

GetWalletTokensByGroup indicates an expected call of GetWalletTokensByGroup.

func (*MockIFullAPIMockRecorder) ListGroups

func (mr *MockIFullAPIMockRecorder) ListGroups(arg0, arg1, arg2 interface{}) *gomock.Call

ListGroups indicates an expected call of ListGroups.

func (*MockIFullAPIMockRecorder) ListKeyBinds

func (mr *MockIFullAPIMockRecorder) ListKeyBinds(arg0, arg1, arg2 interface{}) *gomock.Call

ListKeyBinds indicates an expected call of ListKeyBinds.

func (*MockIFullAPIMockRecorder) ListMethodTemplates

func (mr *MockIFullAPIMockRecorder) ListMethodTemplates(arg0, arg1, arg2 interface{}) *gomock.Call

ListMethodTemplates indicates an expected call of ListMethodTemplates.

func (*MockIFullAPIMockRecorder) ListMsgTypeTemplates

func (mr *MockIFullAPIMockRecorder) ListMsgTypeTemplates(arg0, arg1, arg2 interface{}) *gomock.Call

ListMsgTypeTemplates indicates an expected call of ListMsgTypeTemplates.

func (*MockIFullAPIMockRecorder) Lock

func (mr *MockIFullAPIMockRecorder) Lock(arg0, arg1 interface{}) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockIFullAPIMockRecorder) LockState

func (mr *MockIFullAPIMockRecorder) LockState(arg0 interface{}) *gomock.Call

LockState indicates an expected call of LockState.

func (*MockIFullAPIMockRecorder) LogList

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

LogList indicates an expected call of LogList.

func (*MockIFullAPIMockRecorder) LogSetLevel

func (mr *MockIFullAPIMockRecorder) LogSetLevel(arg0, arg1, arg2 interface{}) *gomock.Call

LogSetLevel indicates an expected call of LogSetLevel.

func (*MockIFullAPIMockRecorder) NewGroup

func (mr *MockIFullAPIMockRecorder) NewGroup(arg0, arg1, arg2 interface{}) *gomock.Call

NewGroup indicates an expected call of NewGroup.

func (*MockIFullAPIMockRecorder) NewKeyBindCustom

func (mr *MockIFullAPIMockRecorder) NewKeyBindCustom(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

NewKeyBindCustom indicates an expected call of NewKeyBindCustom.

func (*MockIFullAPIMockRecorder) NewKeyBindFromTemplate

func (mr *MockIFullAPIMockRecorder) NewKeyBindFromTemplate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

NewKeyBindFromTemplate indicates an expected call of NewKeyBindFromTemplate.

func (*MockIFullAPIMockRecorder) NewMethodTemplate

func (mr *MockIFullAPIMockRecorder) NewMethodTemplate(arg0, arg1, arg2 interface{}) *gomock.Call

NewMethodTemplate indicates an expected call of NewMethodTemplate.

func (*MockIFullAPIMockRecorder) NewMsgTypeTemplate

func (mr *MockIFullAPIMockRecorder) NewMsgTypeTemplate(arg0, arg1, arg2 interface{}) *gomock.Call

NewMsgTypeTemplate indicates an expected call of NewMsgTypeTemplate.

func (*MockIFullAPIMockRecorder) NewStToken

func (mr *MockIFullAPIMockRecorder) NewStToken(arg0, arg1 interface{}) *gomock.Call

NewStToken indicates an expected call of NewStToken.

func (*MockIFullAPIMockRecorder) RemoveGroup

func (mr *MockIFullAPIMockRecorder) RemoveGroup(arg0, arg1 interface{}) *gomock.Call

RemoveGroup indicates an expected call of RemoveGroup.

func (*MockIFullAPIMockRecorder) RemoveKeyBind

func (mr *MockIFullAPIMockRecorder) RemoveKeyBind(arg0, arg1 interface{}) *gomock.Call

RemoveKeyBind indicates an expected call of RemoveKeyBind.

func (*MockIFullAPIMockRecorder) RemoveKeyBindByAddress

func (mr *MockIFullAPIMockRecorder) RemoveKeyBindByAddress(arg0, arg1 interface{}) *gomock.Call

RemoveKeyBindByAddress indicates an expected call of RemoveKeyBindByAddress.

func (*MockIFullAPIMockRecorder) RemoveMethodFromKeyBind

func (mr *MockIFullAPIMockRecorder) RemoveMethodFromKeyBind(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveMethodFromKeyBind indicates an expected call of RemoveMethodFromKeyBind.

func (*MockIFullAPIMockRecorder) RemoveMethodTemplate

func (mr *MockIFullAPIMockRecorder) RemoveMethodTemplate(arg0, arg1 interface{}) *gomock.Call

RemoveMethodTemplate indicates an expected call of RemoveMethodTemplate.

func (*MockIFullAPIMockRecorder) RemoveMsgTypeFromKeyBind

func (mr *MockIFullAPIMockRecorder) RemoveMsgTypeFromKeyBind(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveMsgTypeFromKeyBind indicates an expected call of RemoveMsgTypeFromKeyBind.

func (*MockIFullAPIMockRecorder) RemoveMsgTypeTemplate

func (mr *MockIFullAPIMockRecorder) RemoveMsgTypeTemplate(arg0, arg1 interface{}) *gomock.Call

RemoveMsgTypeTemplate indicates an expected call of RemoveMsgTypeTemplate.

func (*MockIFullAPIMockRecorder) RemoveStToken

func (mr *MockIFullAPIMockRecorder) RemoveStToken(arg0, arg1 interface{}) *gomock.Call

RemoveStToken indicates an expected call of RemoveStToken.

func (*MockIFullAPIMockRecorder) ScopeWallet

func (mr *MockIFullAPIMockRecorder) ScopeWallet(arg0 interface{}) *gomock.Call

ScopeWallet indicates an expected call of ScopeWallet.

func (*MockIFullAPIMockRecorder) SetPassword

func (mr *MockIFullAPIMockRecorder) SetPassword(arg0, arg1 interface{}) *gomock.Call

SetPassword indicates an expected call of SetPassword.

func (*MockIFullAPIMockRecorder) Unlock

func (mr *MockIFullAPIMockRecorder) Unlock(arg0, arg1 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock.

func (*MockIFullAPIMockRecorder) Verify

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

Verify indicates an expected call of Verify.

func (*MockIFullAPIMockRecorder) VerifyPassword

func (mr *MockIFullAPIMockRecorder) VerifyPassword(arg0, arg1 interface{}) *gomock.Call

VerifyPassword indicates an expected call of VerifyPassword.

func (*MockIFullAPIMockRecorder) Version

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

Version indicates an expected call of Version.

func (*MockIFullAPIMockRecorder) WalletDelete

func (mr *MockIFullAPIMockRecorder) WalletDelete(arg0, arg1 interface{}) *gomock.Call

WalletDelete indicates an expected call of WalletDelete.

func (*MockIFullAPIMockRecorder) WalletExport

func (mr *MockIFullAPIMockRecorder) WalletExport(arg0, arg1 interface{}) *gomock.Call

WalletExport indicates an expected call of WalletExport.

func (*MockIFullAPIMockRecorder) WalletHas

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

WalletHas indicates an expected call of WalletHas.

func (*MockIFullAPIMockRecorder) WalletImport

func (mr *MockIFullAPIMockRecorder) WalletImport(arg0, arg1 interface{}) *gomock.Call

WalletImport indicates an expected call of WalletImport.

func (*MockIFullAPIMockRecorder) WalletList

func (mr *MockIFullAPIMockRecorder) WalletList(arg0 interface{}) *gomock.Call

WalletList indicates an expected call of WalletList.

func (*MockIFullAPIMockRecorder) WalletNew

func (mr *MockIFullAPIMockRecorder) WalletNew(arg0, arg1 interface{}) *gomock.Call

WalletNew indicates an expected call of WalletNew.

func (*MockIFullAPIMockRecorder) WalletSign

func (mr *MockIFullAPIMockRecorder) WalletSign(arg0, arg1, arg2, arg3 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