mock_ioctlclient

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_ioctlclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) APIServiceClient

func (m *MockClient) APIServiceClient() (iotexapi.APIServiceClient, error)

APIServiceClient mocks base method.

func (*MockClient) Address

func (m *MockClient) Address(in string) (string, error)

Address mocks base method.

func (*MockClient) AddressWithDefaultIfNotExist added in v1.7.1

func (m *MockClient) AddressWithDefaultIfNotExist(in string) (string, error)

AddressWithDefaultIfNotExist mocks base method.

func (*MockClient) Alias added in v1.8.2

func (m *MockClient) Alias(arg0 string) (string, error)

Alias mocks base method.

func (*MockClient) AliasMap added in v1.7.1

func (m *MockClient) AliasMap() map[string]string

AliasMap mocks base method.

func (*MockClient) AskToConfirm

func (m *MockClient) AskToConfirm(arg0 string) (bool, error)

AskToConfirm mocks base method.

func (*MockClient) Config

func (m *MockClient) Config() config.Config

Config mocks base method.

func (*MockClient) ConfigFilePath added in v1.9.0

func (m *MockClient) ConfigFilePath() string

ConfigFilePath mocks base method.

func (*MockClient) DecryptPrivateKey added in v1.7.1

func (m *MockClient) DecryptPrivateKey(arg0, arg1 string) (*ecdsa.PrivateKey, error)

DecryptPrivateKey mocks base method.

func (*MockClient) DeleteAlias added in v1.7.1

func (m *MockClient) DeleteAlias(arg0 string) error

DeleteAlias mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Execute

func (m *MockClient) Execute(arg0 string) error

Execute mocks base method.

func (*MockClient) HdwalletMnemonic added in v1.8.2

func (m *MockClient) HdwalletMnemonic(arg0 string) (string, error)

HdwalletMnemonic mocks base method.

func (*MockClient) Insecure added in v1.9.0

func (m *MockClient) Insecure() bool

Insecure mocks base method.

func (*MockClient) IsCryptoSm2 added in v1.7.1

func (m *MockClient) IsCryptoSm2() bool

IsCryptoSm2 mocks base method.

func (*MockClient) IsHdWalletConfigFileExist added in v1.8.2

func (m *MockClient) IsHdWalletConfigFileExist() bool

IsHdWalletConfigFileExist mocks base method.

func (*MockClient) NewKeyStore

func (m *MockClient) NewKeyStore() *keystore.KeyStore

NewKeyStore mocks base method.

func (*MockClient) QueryAnalyser added in v1.8.0

func (m *MockClient) QueryAnalyser(arg0 interface{}) (*http.Response, error)

QueryAnalyser mocks base method.

func (m *MockClient) ReadCustomLink() (string, error)

ReadCustomLink mocks base method.

func (*MockClient) ReadInput added in v1.8.2

func (m *MockClient) ReadInput() (string, error)

ReadInput mocks base method.

func (*MockClient) ReadSecret

func (m *MockClient) ReadSecret() (string, error)

ReadSecret mocks base method.

func (*MockClient) RemoveHdWalletConfigFile added in v1.9.0

func (m *MockClient) RemoveHdWalletConfigFile() error

RemoveHdWalletConfigFile mocks base method.

func (*MockClient) SelectTranslation

func (m *MockClient) SelectTranslation(arg0 map[config.Language]string) (string, config.Language)

SelectTranslation mocks base method.

func (*MockClient) SetAlias added in v1.7.1

func (m *MockClient) SetAlias(arg0, arg1 string)

SetAlias mocks base method.

func (*MockClient) SetAliasAndSave added in v1.8.1

func (m *MockClient) SetAliasAndSave(arg0, arg1 string) error

SetAliasAndSave mocks base method.

func (*MockClient) SetEndpointWithFlag added in v1.8.2

func (m *MockClient) SetEndpointWithFlag(arg0 func(*string, string, string, string))

SetEndpointWithFlag mocks base method.

func (*MockClient) SetInsecureWithFlag added in v1.8.2

func (m *MockClient) SetInsecureWithFlag(arg0 func(*bool, string, bool, string))

SetInsecureWithFlag mocks base method.

func (*MockClient) Start

func (m *MockClient) Start(arg0 context.Context) error

Start mocks base method.

func (*MockClient) Stop

func (m *MockClient) Stop(arg0 context.Context) error

Stop mocks base method.

func (*MockClient) WriteConfig added in v1.1.3

func (m *MockClient) WriteConfig() error

WriteConfig mocks base method.

func (*MockClient) WriteHdWalletConfigFile added in v1.8.2

func (m *MockClient) WriteHdWalletConfigFile(arg0, arg1 string) error

WriteHdWalletConfigFile mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) APIServiceClient

func (mr *MockClientMockRecorder) APIServiceClient() *gomock.Call

APIServiceClient indicates an expected call of APIServiceClient.

func (*MockClientMockRecorder) Address

func (mr *MockClientMockRecorder) Address(in interface{}) *gomock.Call

Address indicates an expected call of Address.

func (*MockClientMockRecorder) AddressWithDefaultIfNotExist added in v1.7.1

func (mr *MockClientMockRecorder) AddressWithDefaultIfNotExist(in interface{}) *gomock.Call

AddressWithDefaultIfNotExist indicates an expected call of AddressWithDefaultIfNotExist.

func (*MockClientMockRecorder) Alias added in v1.8.2

func (mr *MockClientMockRecorder) Alias(arg0 interface{}) *gomock.Call

Alias indicates an expected call of Alias.

func (*MockClientMockRecorder) AliasMap added in v1.7.1

func (mr *MockClientMockRecorder) AliasMap() *gomock.Call

AliasMap indicates an expected call of AliasMap.

func (*MockClientMockRecorder) AskToConfirm

func (mr *MockClientMockRecorder) AskToConfirm(arg0 interface{}) *gomock.Call

AskToConfirm indicates an expected call of AskToConfirm.

func (*MockClientMockRecorder) Config

func (mr *MockClientMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config.

func (*MockClientMockRecorder) ConfigFilePath added in v1.9.0

func (mr *MockClientMockRecorder) ConfigFilePath() *gomock.Call

ConfigFilePath indicates an expected call of ConfigFilePath.

func (*MockClientMockRecorder) DecryptPrivateKey added in v1.7.1

func (mr *MockClientMockRecorder) DecryptPrivateKey(arg0, arg1 interface{}) *gomock.Call

DecryptPrivateKey indicates an expected call of DecryptPrivateKey.

func (*MockClientMockRecorder) DeleteAlias added in v1.7.1

func (mr *MockClientMockRecorder) DeleteAlias(arg0 interface{}) *gomock.Call

DeleteAlias indicates an expected call of DeleteAlias.

func (*MockClientMockRecorder) Execute

func (mr *MockClientMockRecorder) Execute(arg0 interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockClientMockRecorder) HdwalletMnemonic added in v1.8.2

func (mr *MockClientMockRecorder) HdwalletMnemonic(arg0 interface{}) *gomock.Call

HdwalletMnemonic indicates an expected call of HdwalletMnemonic.

func (*MockClientMockRecorder) Insecure added in v1.9.0

func (mr *MockClientMockRecorder) Insecure() *gomock.Call

Insecure indicates an expected call of Insecure.

func (*MockClientMockRecorder) IsCryptoSm2 added in v1.7.1

func (mr *MockClientMockRecorder) IsCryptoSm2() *gomock.Call

IsCryptoSm2 indicates an expected call of IsCryptoSm2.

func (*MockClientMockRecorder) IsHdWalletConfigFileExist added in v1.8.2

func (mr *MockClientMockRecorder) IsHdWalletConfigFileExist() *gomock.Call

IsHdWalletConfigFileExist indicates an expected call of IsHdWalletConfigFileExist.

func (*MockClientMockRecorder) NewKeyStore

func (mr *MockClientMockRecorder) NewKeyStore() *gomock.Call

NewKeyStore indicates an expected call of NewKeyStore.

func (*MockClientMockRecorder) QueryAnalyser added in v1.8.0

func (mr *MockClientMockRecorder) QueryAnalyser(arg0 interface{}) *gomock.Call

QueryAnalyser indicates an expected call of QueryAnalyser.

func (mr *MockClientMockRecorder) ReadCustomLink() *gomock.Call

ReadCustomLink indicates an expected call of ReadCustomLink.

func (*MockClientMockRecorder) ReadInput added in v1.8.2

func (mr *MockClientMockRecorder) ReadInput() *gomock.Call

ReadInput indicates an expected call of ReadInput.

func (*MockClientMockRecorder) ReadSecret

func (mr *MockClientMockRecorder) ReadSecret() *gomock.Call

ReadSecret indicates an expected call of ReadSecret.

func (*MockClientMockRecorder) RemoveHdWalletConfigFile added in v1.9.0

func (mr *MockClientMockRecorder) RemoveHdWalletConfigFile() *gomock.Call

RemoveHdWalletConfigFile indicates an expected call of RemoveHdWalletConfigFile.

func (*MockClientMockRecorder) SelectTranslation

func (mr *MockClientMockRecorder) SelectTranslation(arg0 interface{}) *gomock.Call

SelectTranslation indicates an expected call of SelectTranslation.

func (*MockClientMockRecorder) SetAlias added in v1.7.1

func (mr *MockClientMockRecorder) SetAlias(arg0, arg1 interface{}) *gomock.Call

SetAlias indicates an expected call of SetAlias.

func (*MockClientMockRecorder) SetAliasAndSave added in v1.8.1

func (mr *MockClientMockRecorder) SetAliasAndSave(arg0, arg1 interface{}) *gomock.Call

SetAliasAndSave indicates an expected call of SetAliasAndSave.

func (*MockClientMockRecorder) SetEndpointWithFlag added in v1.8.2

func (mr *MockClientMockRecorder) SetEndpointWithFlag(arg0 interface{}) *gomock.Call

SetEndpointWithFlag indicates an expected call of SetEndpointWithFlag.

func (*MockClientMockRecorder) SetInsecureWithFlag added in v1.8.2

func (mr *MockClientMockRecorder) SetInsecureWithFlag(arg0 interface{}) *gomock.Call

SetInsecureWithFlag indicates an expected call of SetInsecureWithFlag.

func (*MockClientMockRecorder) Start

func (mr *MockClientMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockClientMockRecorder) Stop

func (mr *MockClientMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop.

func (*MockClientMockRecorder) WriteConfig added in v1.1.3

func (mr *MockClientMockRecorder) WriteConfig() *gomock.Call

WriteConfig indicates an expected call of WriteConfig.

func (*MockClientMockRecorder) WriteHdWalletConfigFile added in v1.8.2

func (mr *MockClientMockRecorder) WriteHdWalletConfigFile(arg0, arg1 interface{}) *gomock.Call

WriteHdWalletConfigFile indicates an expected call of WriteHdWalletConfigFile.

Jump to

Keyboard shortcuts

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