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) AddressWithDefaultIfNotExist(in string) (string, error)
- func (m *MockClient) AliasMap() map[string]string
- func (m *MockClient) AskToConfirm(arg0 string) bool
- func (m *MockClient) Config() config.Config
- func (m *MockClient) DecryptPrivateKey(arg0, arg1 string) (*ecdsa.PrivateKey, error)
- func (m *MockClient) DeleteAlias(arg0 string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Execute(arg0 string) error
- func (m *MockClient) IsCryptoSm2() bool
- func (m *MockClient) NewKeyStore() *keystore.KeyStore
- func (m *MockClient) QueryAnalyser(arg0 interface{}) (*http.Response, error)
- func (m *MockClient) ReadSecret() (string, error)
- func (m *MockClient) SelectTranslation(arg0 map[config.Language]string) (string, config.Language)
- func (m *MockClient) SetAlias(arg0, arg1 string)
- func (m *MockClient) SetAliasAndSave(arg0, arg1 string) error
- func (m *MockClient) Start(arg0 context.Context) error
- func (m *MockClient) Stop(arg0 context.Context) error
- func (m *MockClient) WriteConfig() error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) APIServiceClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Address(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AddressWithDefaultIfNotExist(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AliasMap() *gomock.Call
- func (mr *MockClientMockRecorder) AskToConfirm(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Config() *gomock.Call
- func (mr *MockClientMockRecorder) DecryptPrivateKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAlias(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Execute(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsCryptoSm2() *gomock.Call
- func (mr *MockClientMockRecorder) NewKeyStore() *gomock.Call
- func (mr *MockClientMockRecorder) QueryAnalyser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReadSecret() *gomock.Call
- func (mr *MockClientMockRecorder) SelectTranslation(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetAlias(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetAliasAndSave(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) WriteConfig() *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) AddressWithDefaultIfNotExist ¶ added in v1.7.1
func (m *MockClient) AddressWithDefaultIfNotExist(in string) (string, error)
AddressWithDefaultIfNotExist 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
AskToConfirm 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) IsCryptoSm2 ¶ added in v1.7.1
func (m *MockClient) IsCryptoSm2() bool
IsCryptoSm2 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 (*MockClient) ReadSecret ¶
func (m *MockClient) ReadSecret() (string, error)
ReadSecret mocks base method.
func (*MockClient) SelectTranslation ¶
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) 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.
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) AddressWithDefaultIfNotExist ¶ added in v1.7.1
func (mr *MockClientMockRecorder) AddressWithDefaultIfNotExist(in interface{}) *gomock.Call
AddressWithDefaultIfNotExist indicates an expected call of AddressWithDefaultIfNotExist.
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) 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) IsCryptoSm2 ¶ added in v1.7.1
func (mr *MockClientMockRecorder) IsCryptoSm2() *gomock.Call
IsCryptoSm2 indicates an expected call of IsCryptoSm2.
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 (*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) 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) 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.