iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_ioctlclient Index | Files

package mock_ioctlclient

import "github.com/iotexproject/iotex-core/test/mock/mock_ioctlclient"

Package mock_ioctlclient is a generated GoMock package.

Index

Package Files

mock_ioctlclient.go

type MockClient Uses

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

MockClient is a mock of Client interface

func NewMockClient Uses

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) APIServiceClient Uses

func (m *MockClient) APIServiceClient(arg0 ioctl.APIServiceConfig) (iotexapi.APIServiceClient, error)

APIServiceClient mocks base method

func (*MockClient) Address Uses

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

Address mocks base method

func (*MockClient) AskToConfirm Uses

func (m *MockClient) AskToConfirm() bool

AskToConfirm mocks base method

func (*MockClient) Config Uses

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

Config mocks base method

func (*MockClient) EXPECT Uses

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Execute Uses

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

Execute mocks base method

func (*MockClient) GetAddress Uses

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

GetAddress mocks base method

func (*MockClient) NewKeyStore Uses

func (m *MockClient) NewKeyStore(arg0 string, arg1, arg2 int) *keystore.KeyStore

NewKeyStore mocks base method

func (*MockClient) ReadSecret Uses

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

ReadSecret mocks base method

func (*MockClient) SelectTranslation Uses

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

SelectTranslation mocks base method

func (*MockClient) Start Uses

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

Start mocks base method

func (*MockClient) Stop Uses

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

Stop mocks base method

type MockClientMockRecorder Uses

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) APIServiceClient Uses

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

APIServiceClient indicates an expected call of APIServiceClient

func (*MockClientMockRecorder) Address Uses

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

Address indicates an expected call of Address

func (*MockClientMockRecorder) AskToConfirm Uses

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

AskToConfirm indicates an expected call of AskToConfirm

func (*MockClientMockRecorder) Config Uses

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

Config indicates an expected call of Config

func (*MockClientMockRecorder) Execute Uses

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

Execute indicates an expected call of Execute

func (*MockClientMockRecorder) GetAddress Uses

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

GetAddress indicates an expected call of GetAddress

func (*MockClientMockRecorder) NewKeyStore Uses

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

NewKeyStore indicates an expected call of NewKeyStore

func (*MockClientMockRecorder) ReadSecret Uses

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

ReadSecret indicates an expected call of ReadSecret

func (*MockClientMockRecorder) SelectTranslation Uses

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

SelectTranslation indicates an expected call of SelectTranslation

func (*MockClientMockRecorder) Start Uses

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

Start indicates an expected call of Start

func (*MockClientMockRecorder) Stop Uses

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

Stop indicates an expected call of Stop

Package mock_ioctlclient imports 7 packages (graph). Updated 2020-04-07. Refresh now. Tools for package owners.