mock_ioctlclient

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 7 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(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) Config

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

Config 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

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

SelectTranslation 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

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

Jump to

Keyboard shortcuts

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