mock

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0, MIT Imports: 7 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) 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) EXPECT

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

func (*MockIFullAPI) ListSignedRecord added in v1.11.0

func (m *MockIFullAPI) ListSignedRecord(arg0 context.Context, arg1 *types.QuerySignRecordParams) ([]types.SignRecord, error)

ListSignedRecord 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) 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) 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) (types.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) (*types.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 *types.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 types.KeyType) (address.Address, error)

WalletNew mocks base method.

func (*MockIFullAPI) WalletSign

func (m *MockIFullAPI) WalletSign(arg0 context.Context, arg1 address.Address, arg2 []byte, arg3 types.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) 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) ListSignedRecord added in v1.11.0

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

ListSignedRecord indicates an expected call of ListSignedRecord.

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