Documentation ¶
Overview ¶
Package mock_ioctlclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) APIServiceClient(arg0 ioctl.APIServiceConfig) (iotexapi.APIServiceClient, error)
- func (m *MockClient) Address(in string) (string, error)
- func (m *MockClient) AskToConfirm(arg0 string) bool
- func (m *MockClient) Config() config.Config
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Execute(arg0 string) error
- func (m *MockClient) GetAddress(in string) (string, error)
- func (m *MockClient) GetAliasMap() map[string]string
- func (m *MockClient) HasCryptoSm2() bool
- func (m *MockClient) NewKeyStore(arg0 string, arg1, arg2 int) *keystore.KeyStore
- func (m *MockClient) PrintError(arg0 error)
- func (m *MockClient) PrintInfo(arg0 string)
- func (m *MockClient) ReadSecret() (string, error)
- func (m *MockClient) SelectTranslation(arg0 map[config.Language]string) (string, config.Language)
- func (m *MockClient) SetCryptoSm2(arg0 bool)
- func (m *MockClient) Start(arg0 context.Context) error
- func (m *MockClient) Stop(arg0 context.Context) error
- func (m *MockClient) WriteConfig(arg0 config.Config) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) APIServiceClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Address(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AskToConfirm(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Config() *gomock.Call
- func (mr *MockClientMockRecorder) Execute(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAddress(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAliasMap() *gomock.Call
- func (mr *MockClientMockRecorder) HasCryptoSm2() *gomock.Call
- func (mr *MockClientMockRecorder) NewKeyStore(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PrintError(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PrintInfo(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReadSecret() *gomock.Call
- func (mr *MockClientMockRecorder) SelectTranslation(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetCryptoSm2(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) WriteConfig(arg0 interface{}) *gomock.Call
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(arg0 ioctl.APIServiceConfig) (iotexapi.APIServiceClient, error)
APIServiceClient mocks base method.
func (*MockClient) Address ¶
func (m *MockClient) Address(in string) (string, error)
Address mocks base method.
func (*MockClient) AskToConfirm ¶
func (m *MockClient) AskToConfirm(arg0 string) bool
AskToConfirm 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) GetAddress ¶
func (m *MockClient) GetAddress(in string) (string, error)
GetAddress mocks base method.
func (*MockClient) GetAliasMap ¶ added in v1.1.2
func (m *MockClient) GetAliasMap() map[string]string
GetAliasMap mocks base method.
func (*MockClient) HasCryptoSm2 ¶ added in v1.7.0
func (m *MockClient) HasCryptoSm2() bool
HasCryptoSm2 mocks base method.
func (*MockClient) NewKeyStore ¶
func (m *MockClient) NewKeyStore(arg0 string, arg1, arg2 int) *keystore.KeyStore
NewKeyStore mocks base method.
func (*MockClient) PrintError ¶ added in v1.7.0
func (m *MockClient) PrintError(arg0 error)
PrintError mocks base method.
func (*MockClient) PrintInfo ¶ added in v1.7.0
func (m *MockClient) PrintInfo(arg0 string)
PrintInfo mocks base method.
func (*MockClient) ReadSecret ¶
func (m *MockClient) ReadSecret() (string, error)
ReadSecret mocks base method.
func (*MockClient) SelectTranslation ¶
SelectTranslation mocks base method.
func (*MockClient) SetCryptoSm2 ¶ added in v1.7.0
func (m *MockClient) SetCryptoSm2(arg0 bool)
SetCryptoSm2 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(arg0 config.Config) error
WriteConfig 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(arg0 interface{}) *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) 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) Execute ¶
func (mr *MockClientMockRecorder) Execute(arg0 interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockClientMockRecorder) GetAddress ¶
func (mr *MockClientMockRecorder) GetAddress(in interface{}) *gomock.Call
GetAddress indicates an expected call of GetAddress.
func (*MockClientMockRecorder) GetAliasMap ¶ added in v1.1.2
func (mr *MockClientMockRecorder) GetAliasMap() *gomock.Call
GetAliasMap indicates an expected call of GetAliasMap.
func (*MockClientMockRecorder) HasCryptoSm2 ¶ added in v1.7.0
func (mr *MockClientMockRecorder) HasCryptoSm2() *gomock.Call
HasCryptoSm2 indicates an expected call of HasCryptoSm2.
func (*MockClientMockRecorder) NewKeyStore ¶
func (mr *MockClientMockRecorder) NewKeyStore(arg0, arg1, arg2 interface{}) *gomock.Call
NewKeyStore indicates an expected call of NewKeyStore.
func (*MockClientMockRecorder) PrintError ¶ added in v1.7.0
func (mr *MockClientMockRecorder) PrintError(arg0 interface{}) *gomock.Call
PrintError indicates an expected call of PrintError.
func (*MockClientMockRecorder) PrintInfo ¶ added in v1.7.0
func (mr *MockClientMockRecorder) PrintInfo(arg0 interface{}) *gomock.Call
PrintInfo indicates an expected call of PrintInfo.
func (*MockClientMockRecorder) ReadSecret ¶
func (mr *MockClientMockRecorder) ReadSecret() *gomock.Call
ReadSecret indicates an expected call of ReadSecret.
func (*MockClientMockRecorder) SelectTranslation ¶
func (mr *MockClientMockRecorder) SelectTranslation(arg0 interface{}) *gomock.Call
SelectTranslation indicates an expected call of SelectTranslation.
func (*MockClientMockRecorder) SetCryptoSm2 ¶ added in v1.7.0
func (mr *MockClientMockRecorder) SetCryptoSm2(arg0 interface{}) *gomock.Call
SetCryptoSm2 indicates an expected call of SetCryptoSm2.
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(arg0 interface{}) *gomock.Call
WriteConfig indicates an expected call of WriteConfig.