mockutils

package
v0.0.0-...-80a1494 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: OSL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockutils is a generated GoMock package.

Package mockutils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfiguration

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

MockConfiguration is a mock of Configuration interface

func NewMockConfiguration

func NewMockConfiguration(ctrl *gomock.Controller) *MockConfiguration

NewMockConfiguration creates a new mock instance

func (*MockConfiguration) EXPECT

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

func (*MockConfiguration) Exists

func (m *MockConfiguration) Exists() bool

Exists mocks base method

func (*MockConfiguration) GetAccountDbPath

func (m *MockConfiguration) GetAccountDbPath() string

GetAccountDbPath mocks base method

func (*MockConfiguration) GetCurrentEnv

func (m *MockConfiguration) GetCurrentEnv() string

GetCurrentEnv mocks base method

func (*MockConfiguration) GetDefaultAccount

func (m *MockConfiguration) GetDefaultAccount() string

GetDefaultAccount mocks base method

func (*MockConfiguration) GetDrsAddress

func (m *MockConfiguration) GetDrsAddress() string

GetDrsAddress mocks base method

func (*MockConfiguration) GetEnvList

func (m *MockConfiguration) GetEnvList() []string

GetEnvList mocks base method

func (*MockConfiguration) GetHeartAddress

func (m *MockConfiguration) GetHeartAddress() string

GetHeartAddress mocks base method

func (*MockConfiguration) GetRpcUrl

func (m *MockConfiguration) GetRpcUrl() string

GetRpcUrl mocks base method

func (*MockConfiguration) InitEnvBasedConfig

func (m *MockConfiguration) InitEnvBasedConfig(baseDir, envName string) error

InitEnvBasedConfig mocks base method

func (*MockConfiguration) InitSharedConfig

func (m *MockConfiguration) InitSharedConfig(baseDir string) error

InitSharedConfig mocks base method

func (*MockConfiguration) SetCurrentEnv

func (m *MockConfiguration) SetCurrentEnv(account string) error

SetCurrentEnv mocks base method

func (*MockConfiguration) SetDefaultAccount

func (m *MockConfiguration) SetDefaultAccount(account string) error

SetDefaultAccount mocks base method

type MockConfigurationMockRecorder

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

MockConfigurationMockRecorder is the mock recorder for MockConfiguration

func (*MockConfigurationMockRecorder) Exists

Exists indicates an expected call of Exists

func (*MockConfigurationMockRecorder) GetAccountDbPath

func (mr *MockConfigurationMockRecorder) GetAccountDbPath() *gomock.Call

GetAccountDbPath indicates an expected call of GetAccountDbPath

func (*MockConfigurationMockRecorder) GetCurrentEnv

func (mr *MockConfigurationMockRecorder) GetCurrentEnv() *gomock.Call

GetCurrentEnv indicates an expected call of GetCurrentEnv

func (*MockConfigurationMockRecorder) GetDefaultAccount

func (mr *MockConfigurationMockRecorder) GetDefaultAccount() *gomock.Call

GetDefaultAccount indicates an expected call of GetDefaultAccount

func (*MockConfigurationMockRecorder) GetDrsAddress

func (mr *MockConfigurationMockRecorder) GetDrsAddress() *gomock.Call

GetDrsAddress indicates an expected call of GetDrsAddress

func (*MockConfigurationMockRecorder) GetEnvList

func (mr *MockConfigurationMockRecorder) GetEnvList() *gomock.Call

GetEnvList indicates an expected call of GetEnvList

func (*MockConfigurationMockRecorder) GetHeartAddress

func (mr *MockConfigurationMockRecorder) GetHeartAddress() *gomock.Call

GetHeartAddress indicates an expected call of GetHeartAddress

func (*MockConfigurationMockRecorder) GetRpcUrl

func (mr *MockConfigurationMockRecorder) GetRpcUrl() *gomock.Call

GetRpcUrl indicates an expected call of GetRpcUrl

func (*MockConfigurationMockRecorder) InitEnvBasedConfig

func (mr *MockConfigurationMockRecorder) InitEnvBasedConfig(baseDir, envName interface{}) *gomock.Call

InitEnvBasedConfig indicates an expected call of InitEnvBasedConfig

func (*MockConfigurationMockRecorder) InitSharedConfig

func (mr *MockConfigurationMockRecorder) InitSharedConfig(baseDir interface{}) *gomock.Call

InitSharedConfig indicates an expected call of InitSharedConfig

func (*MockConfigurationMockRecorder) SetCurrentEnv

func (mr *MockConfigurationMockRecorder) SetCurrentEnv(account interface{}) *gomock.Call

SetCurrentEnv indicates an expected call of SetCurrentEnv

func (*MockConfigurationMockRecorder) SetDefaultAccount

func (mr *MockConfigurationMockRecorder) SetDefaultAccount(account interface{}) *gomock.Call

SetDefaultAccount indicates an expected call of SetDefaultAccount

type MockPrompt

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

MockPrompt is a mock of Prompt interface

func NewMockPrompt

func NewMockPrompt(ctrl *gomock.Controller) *MockPrompt

NewMockPrompt creates a new mock instance

func (*MockPrompt) EXPECT

func (m *MockPrompt) EXPECT() *MockPromptMockRecorder

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

func (*MockPrompt) RequestChoice

func (m *MockPrompt) RequestChoice(label string, choices []string, opt console.RequestChoiceOptions) int

RequestChoice mocks base method

func (*MockPrompt) RequestConfirmation

func (m *MockPrompt) RequestConfirmation(label string) bool

RequestConfirmation mocks base method

func (*MockPrompt) RequestHiddenString

func (m *MockPrompt) RequestHiddenString(label string, validate promptui.ValidateFunc) string

RequestHiddenString mocks base method

func (*MockPrompt) RequestPassphrase

func (m *MockPrompt) RequestPassphrase() string

RequestPassphrase mocks base method

func (*MockPrompt) RequestString

func (m *MockPrompt) RequestString(label string, validate promptui.ValidateFunc) string

RequestString mocks base method

type MockPromptMockRecorder

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

MockPromptMockRecorder is the mock recorder for MockPrompt

func (*MockPromptMockRecorder) RequestChoice

func (mr *MockPromptMockRecorder) RequestChoice(label, choices, opt interface{}) *gomock.Call

RequestChoice indicates an expected call of RequestChoice

func (*MockPromptMockRecorder) RequestConfirmation

func (mr *MockPromptMockRecorder) RequestConfirmation(label interface{}) *gomock.Call

RequestConfirmation indicates an expected call of RequestConfirmation

func (*MockPromptMockRecorder) RequestHiddenString

func (mr *MockPromptMockRecorder) RequestHiddenString(label, validate interface{}) *gomock.Call

RequestHiddenString indicates an expected call of RequestHiddenString

func (*MockPromptMockRecorder) RequestPassphrase

func (mr *MockPromptMockRecorder) RequestPassphrase() *gomock.Call

RequestPassphrase indicates an expected call of RequestPassphrase

func (*MockPromptMockRecorder) RequestString

func (mr *MockPromptMockRecorder) RequestString(label, validate interface{}) *gomock.Call

RequestString indicates an expected call of RequestString

Jump to

Keyboard shortcuts

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