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() 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) NewKeyStore(arg0 string, arg1, arg2 int) *keystore.KeyStore
- func (m *MockClient) ReadSecret() (string, error)
- func (m *MockClient) SelectTranslation(arg0 map[config.Language]string) (string, config.Language)
- func (m *MockClient) Start(arg0 context.Context) error
- func (m *MockClient) Stop(arg0 context.Context) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) APIServiceClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Address(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AskToConfirm() *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) NewKeyStore(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReadSecret() *gomock.Call
- func (mr *MockClientMockRecorder) SelectTranslation(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Stop(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() 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) NewKeyStore ¶
func (m *MockClient) NewKeyStore(arg0 string, arg1, arg2 int) *keystore.KeyStore
NewKeyStore mocks base method
func (*MockClient) ReadSecret ¶
func (m *MockClient) ReadSecret() (string, error)
ReadSecret mocks base method
func (*MockClient) SelectTranslation ¶
SelectTranslation 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() *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) NewKeyStore ¶
func (mr *MockClientMockRecorder) NewKeyStore(arg0, arg1, arg2 interface{}) *gomock.Call
NewKeyStore indicates an expected call of NewKeyStore
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) 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