mocks

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICMDPlugin

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

MockICMDPlugin is a mock of ICMDPlugin interface

func NewMockICMDPlugin

func NewMockICMDPlugin(ctrl *gomock.Controller) *MockICMDPlugin

NewMockICMDPlugin creates a new mock instance

func (*MockICMDPlugin) EXPECT

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

func (*MockICMDPlugin) GetCommands

func (m *MockICMDPlugin) GetCommands(i interface{}) interface{}

GetCommands mocks base method

type MockICMDPluginMockRecorder

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

MockICMDPluginMockRecorder is the mock recorder for MockICMDPlugin

func (*MockICMDPluginMockRecorder) GetCommands

func (mr *MockICMDPluginMockRecorder) GetCommands(i interface{}) *gomock.Call

GetCommands indicates an expected call of GetCommands

type MockIConfig

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

MockIConfig is a mock of IConfig interface

func NewMockIConfig

func NewMockIConfig(ctrl *gomock.Controller) *MockIConfig

NewMockIConfig creates a new mock instance

func (*MockIConfig) AddProfile

func (m *MockIConfig) AddProfile(p interfaces.IProfile) error

AddProfile mocks base method

func (*MockIConfig) DumpConfig

func (m *MockIConfig) DumpConfig(i ...interface{}) interface{}

DumpConfig mocks base method

func (*MockIConfig) EXPECT

func (m *MockIConfig) EXPECT() *MockIConfigMockRecorder

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

func (*MockIConfig) GetActiveProfile

func (m *MockIConfig) GetActiveProfile() interfaces.IProfile

GetActiveProfile mocks base method

func (*MockIConfig) GetActiveProfileByName

func (m *MockIConfig) GetActiveProfileByName(profilename string) (interfaces.IProfile, error)

GetActiveProfileByName mocks base method

func (*MockIConfig) GetAllProfiles

func (m *MockIConfig) GetAllProfiles() (map[string]interfaces.IProfile, error)

GetAllProfiles mocks base method

func (*MockIConfig) GetConfigPath

func (m *MockIConfig) GetConfigPath() (string, error)

GetConfigPath mocks base method

func (*MockIConfig) Remove

func (m *MockIConfig) Remove(i interface{}) error

Remove mocks base method

func (*MockIConfig) RemoveProfile

func (m *MockIConfig) RemoveProfile(p interfaces.IProfile) error

RemoveProfile mocks base method

func (*MockIConfig) Save

func (m *MockIConfig) Save(i ...interface{}) error

Save mocks base method

func (*MockIConfig) SetActiveProfile

func (m *MockIConfig) SetActiveProfile(name string) error

SetActiveProfile mocks base method

func (*MockIConfig) SetConfigPath

func (m *MockIConfig) SetConfigPath(path string) error

SetConfigPath mocks base method

type MockIConfigMockRecorder

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

MockIConfigMockRecorder is the mock recorder for MockIConfig

func (*MockIConfigMockRecorder) AddProfile

func (mr *MockIConfigMockRecorder) AddProfile(p interface{}) *gomock.Call

AddProfile indicates an expected call of AddProfile

func (*MockIConfigMockRecorder) DumpConfig

func (mr *MockIConfigMockRecorder) DumpConfig(i ...interface{}) *gomock.Call

DumpConfig indicates an expected call of DumpConfig

func (*MockIConfigMockRecorder) GetActiveProfile

func (mr *MockIConfigMockRecorder) GetActiveProfile() *gomock.Call

GetActiveProfile indicates an expected call of GetActiveProfile

func (*MockIConfigMockRecorder) GetActiveProfileByName

func (mr *MockIConfigMockRecorder) GetActiveProfileByName(profilename interface{}) *gomock.Call

GetActiveProfileByName indicates an expected call of GetActiveProfileByName

func (*MockIConfigMockRecorder) GetAllProfiles

func (mr *MockIConfigMockRecorder) GetAllProfiles() *gomock.Call

GetAllProfiles indicates an expected call of GetAllProfiles

func (*MockIConfigMockRecorder) GetConfigPath

func (mr *MockIConfigMockRecorder) GetConfigPath() *gomock.Call

GetConfigPath indicates an expected call of GetConfigPath

func (*MockIConfigMockRecorder) Remove

func (mr *MockIConfigMockRecorder) Remove(i interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockIConfigMockRecorder) RemoveProfile

func (mr *MockIConfigMockRecorder) RemoveProfile(p interface{}) *gomock.Call

RemoveProfile indicates an expected call of RemoveProfile

func (*MockIConfigMockRecorder) Save

func (mr *MockIConfigMockRecorder) Save(i ...interface{}) *gomock.Call

Save indicates an expected call of Save

func (*MockIConfigMockRecorder) SetActiveProfile

func (mr *MockIConfigMockRecorder) SetActiveProfile(name interface{}) *gomock.Call

SetActiveProfile indicates an expected call of SetActiveProfile

func (*MockIConfigMockRecorder) SetConfigPath

func (mr *MockIConfigMockRecorder) SetConfigPath(path interface{}) *gomock.Call

SetConfigPath indicates an expected call of SetConfigPath

type MockICore

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

MockICore is a mock of ICore interface

func NewMockICore

func NewMockICore(ctrl *gomock.Controller) *MockICore

NewMockICore creates a new mock instance

func (*MockICore) CallPostHook

func (m *MockICore) CallPostHook(i interface{}) error

CallPostHook mocks base method

func (*MockICore) CallPreHook

func (m *MockICore) CallPreHook(i interface{}) error

CallPreHook mocks base method

func (*MockICore) EXPECT

func (m *MockICore) EXPECT() *MockICoreMockRecorder

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

func (*MockICore) Get

func (m *MockICore) Get(i interface{}) error

Get mocks base method

func (*MockICore) GetCMDPlugins

func (m *MockICore) GetCMDPlugins() []interfaces.ICMDPlugin

GetCMDPlugins mocks base method

func (*MockICore) GetConfig

func (m *MockICore) GetConfig() interfaces.IConfig

GetConfig mocks base method

func (*MockICore) GetHelper

func (m *MockICore) GetHelper() interfaces.IHelper

GetHelper mocks base method

func (*MockICore) GetLogger

func (m *MockICore) GetLogger() interfaces.ILogger

GetLogger mocks base method

func (*MockICore) GetNetworker

func (m *MockICore) GetNetworker() interfaces.INetworker

GetNetworker mocks base method

func (*MockICore) GetStartTime

func (m *MockICore) GetStartTime() time.Time

GetStartTime mocks base method

func (*MockICore) GetUI

func (m *MockICore) GetUI() interfaces.IUIPlugin

GetUI mocks base method

func (*MockICore) GetUpdater

func (m *MockICore) GetUpdater() interfaces.IUpdater

GetUpdater mocks base method

type MockICoreMockRecorder

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

MockICoreMockRecorder is the mock recorder for MockICore

func (*MockICoreMockRecorder) CallPostHook

func (mr *MockICoreMockRecorder) CallPostHook(i interface{}) *gomock.Call

CallPostHook indicates an expected call of CallPostHook

func (*MockICoreMockRecorder) CallPreHook

func (mr *MockICoreMockRecorder) CallPreHook(i interface{}) *gomock.Call

CallPreHook indicates an expected call of CallPreHook

func (*MockICoreMockRecorder) Get

func (mr *MockICoreMockRecorder) Get(i interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockICoreMockRecorder) GetCMDPlugins

func (mr *MockICoreMockRecorder) GetCMDPlugins() *gomock.Call

GetCMDPlugins indicates an expected call of GetCMDPlugins

func (*MockICoreMockRecorder) GetConfig

func (mr *MockICoreMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig

func (*MockICoreMockRecorder) GetHelper

func (mr *MockICoreMockRecorder) GetHelper() *gomock.Call

GetHelper indicates an expected call of GetHelper

func (*MockICoreMockRecorder) GetLogger

func (mr *MockICoreMockRecorder) GetLogger() *gomock.Call

GetLogger indicates an expected call of GetLogger

func (*MockICoreMockRecorder) GetNetworker

func (mr *MockICoreMockRecorder) GetNetworker() *gomock.Call

GetNetworker indicates an expected call of GetNetworker

func (*MockICoreMockRecorder) GetStartTime

func (mr *MockICoreMockRecorder) GetStartTime() *gomock.Call

GetStartTime indicates an expected call of GetStartTime

func (*MockICoreMockRecorder) GetUI

func (mr *MockICoreMockRecorder) GetUI() *gomock.Call

GetUI indicates an expected call of GetUI

func (*MockICoreMockRecorder) GetUpdater

func (mr *MockICoreMockRecorder) GetUpdater() *gomock.Call

GetUpdater indicates an expected call of GetUpdater

type MockIDAL

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

MockIDAL is a mock of IDAL interface

func NewMockIDAL

func NewMockIDAL(ctrl *gomock.Controller) *MockIDAL

NewMockIDAL creates a new mock instance

func (*MockIDAL) Create

func (m *MockIDAL) Create(i interface{}) error

Create mocks base method

func (*MockIDAL) Delete

func (m *MockIDAL) Delete(i interface{}) error

Delete mocks base method

func (*MockIDAL) EXPECT

func (m *MockIDAL) EXPECT() *MockIDALMockRecorder

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

func (*MockIDAL) Read

func (m *MockIDAL) Read(i interface{}) error

Read mocks base method

func (*MockIDAL) ReadAll

func (m *MockIDAL) ReadAll(i interface{}) (map[string]interface{}, error)

ReadAll mocks base method

func (*MockIDAL) Update

func (m *MockIDAL) Update(i interface{}) error

Update mocks base method

type MockIDALMockRecorder

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

MockIDALMockRecorder is the mock recorder for MockIDAL

func (*MockIDALMockRecorder) Create

func (mr *MockIDALMockRecorder) Create(i interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIDALMockRecorder) Delete

func (mr *MockIDALMockRecorder) Delete(i interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockIDALMockRecorder) Read

func (mr *MockIDALMockRecorder) Read(i interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockIDALMockRecorder) ReadAll

func (mr *MockIDALMockRecorder) ReadAll(i interface{}) *gomock.Call

ReadAll indicates an expected call of ReadAll

func (*MockIDALMockRecorder) Update

func (mr *MockIDALMockRecorder) Update(i interface{}) *gomock.Call

Update indicates an expected call of Update

type MockIExtractor

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

MockIExtractor is a mock of IExtractor interface

func NewMockIExtractor

func NewMockIExtractor(ctrl *gomock.Controller) *MockIExtractor

NewMockIExtractor creates a new mock instance

func (*MockIExtractor) EXPECT

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

func (*MockIExtractor) GetCore

func (m *MockIExtractor) GetCore(i interface{}) interfaces.ICore

GetCore mocks base method

func (*MockIExtractor) GetMetadata

func (m_2 *MockIExtractor) GetMetadata(m map[string]interface{}, key string, container interface{}) error

GetMetadata mocks base method

func (*MockIExtractor) GetMetadataFatal

func (m_2 *MockIExtractor) GetMetadataFatal(m map[string]interface{}, key string, container interface{})

GetMetadataFatal mocks base method

type MockIExtractorMockRecorder

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

MockIExtractorMockRecorder is the mock recorder for MockIExtractor

func (*MockIExtractorMockRecorder) GetCore

func (mr *MockIExtractorMockRecorder) GetCore(i interface{}) *gomock.Call

GetCore indicates an expected call of GetCore

func (*MockIExtractorMockRecorder) GetMetadata

func (mr *MockIExtractorMockRecorder) GetMetadata(m, key, container interface{}) *gomock.Call

GetMetadata indicates an expected call of GetMetadata

func (*MockIExtractorMockRecorder) GetMetadataFatal

func (mr *MockIExtractorMockRecorder) GetMetadataFatal(m, key, container interface{}) *gomock.Call

GetMetadataFatal indicates an expected call of GetMetadataFatal

type MockIHelper

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

MockIHelper is a mock of IHelper interface

func NewMockIHelper

func NewMockIHelper(ctrl *gomock.Controller) *MockIHelper

NewMockIHelper creates a new mock instance

func (*MockIHelper) CatchOutput

func (m *MockIHelper) CatchOutput(script string, silent bool, args ...string) (string, error)

CatchOutput mocks base method

func (*MockIHelper) CheckFlag

func (m *MockIHelper) CheckFlag(flag string) bool

CheckFlag mocks base method

func (*MockIHelper) CheckFlagArg

func (m *MockIHelper) CheckFlagArg(flag string) string

CheckFlagArg mocks base method

func (*MockIHelper) CheckOrCreateFolder

func (m *MockIHelper) CheckOrCreateFolder(path string, permissions os.FileMode)

CheckOrCreateFolder mocks base method

func (*MockIHelper) CheckOrCreateParentFolder

func (m *MockIHelper) CheckOrCreateParentFolder(path string, permissions os.FileMode)

CheckOrCreateParentFolder mocks base method

func (*MockIHelper) CheckUserProfile

func (m *MockIHelper) CheckUserProfile() string

CheckUserProfile mocks base method

func (*MockIHelper) CurrentWorkdir

func (m *MockIHelper) CurrentWorkdir(i ...string) string

CurrentWorkdir mocks base method

func (*MockIHelper) EXPECT

func (m *MockIHelper) EXPECT() *MockIHelperMockRecorder

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

func (*MockIHelper) HomeDir

func (m *MockIHelper) HomeDir(i ...string) string

HomeDir mocks base method

func (*MockIHelper) LoadBootConfig

func (m *MockIHelper) LoadBootConfig() *interfaces.Bootconfig

LoadBootConfig mocks base method

func (*MockIHelper) PathExists

func (m *MockIHelper) PathExists(path string) bool

PathExists mocks base method

func (*MockIHelper) ReadFile

func (m *MockIHelper) ReadFile(path string) ([]byte, error)

ReadFile mocks base method

func (*MockIHelper) UpdateOrWriteFile

func (m *MockIHelper) UpdateOrWriteFile(path string, content []byte, permissions os.FileMode) error

UpdateOrWriteFile mocks base method

type MockIHelperMockRecorder

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

MockIHelperMockRecorder is the mock recorder for MockIHelper

func (*MockIHelperMockRecorder) CatchOutput

func (mr *MockIHelperMockRecorder) CatchOutput(script, silent interface{}, args ...interface{}) *gomock.Call

CatchOutput indicates an expected call of CatchOutput

func (*MockIHelperMockRecorder) CheckFlag

func (mr *MockIHelperMockRecorder) CheckFlag(flag interface{}) *gomock.Call

CheckFlag indicates an expected call of CheckFlag

func (*MockIHelperMockRecorder) CheckFlagArg

func (mr *MockIHelperMockRecorder) CheckFlagArg(flag interface{}) *gomock.Call

CheckFlagArg indicates an expected call of CheckFlagArg

func (*MockIHelperMockRecorder) CheckOrCreateFolder

func (mr *MockIHelperMockRecorder) CheckOrCreateFolder(path, permissions interface{}) *gomock.Call

CheckOrCreateFolder indicates an expected call of CheckOrCreateFolder

func (*MockIHelperMockRecorder) CheckOrCreateParentFolder

func (mr *MockIHelperMockRecorder) CheckOrCreateParentFolder(path, permissions interface{}) *gomock.Call

CheckOrCreateParentFolder indicates an expected call of CheckOrCreateParentFolder

func (*MockIHelperMockRecorder) CheckUserProfile

func (mr *MockIHelperMockRecorder) CheckUserProfile() *gomock.Call

CheckUserProfile indicates an expected call of CheckUserProfile

func (*MockIHelperMockRecorder) CurrentWorkdir

func (mr *MockIHelperMockRecorder) CurrentWorkdir(i ...interface{}) *gomock.Call

CurrentWorkdir indicates an expected call of CurrentWorkdir

func (*MockIHelperMockRecorder) HomeDir

func (mr *MockIHelperMockRecorder) HomeDir(i ...interface{}) *gomock.Call

HomeDir indicates an expected call of HomeDir

func (*MockIHelperMockRecorder) LoadBootConfig

func (mr *MockIHelperMockRecorder) LoadBootConfig() *gomock.Call

LoadBootConfig indicates an expected call of LoadBootConfig

func (*MockIHelperMockRecorder) PathExists

func (mr *MockIHelperMockRecorder) PathExists(path interface{}) *gomock.Call

PathExists indicates an expected call of PathExists

func (*MockIHelperMockRecorder) ReadFile

func (mr *MockIHelperMockRecorder) ReadFile(path interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile

func (*MockIHelperMockRecorder) UpdateOrWriteFile

func (mr *MockIHelperMockRecorder) UpdateOrWriteFile(path, content, permissions interface{}) *gomock.Call

UpdateOrWriteFile indicates an expected call of UpdateOrWriteFile

type MockILogger

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

MockILogger is a mock of ILogger interface

func NewMockILogger

func NewMockILogger(ctrl *gomock.Controller) *MockILogger

NewMockILogger creates a new mock instance

func (*MockILogger) Debug

func (m *MockILogger) Debug(i ...interface{})

Debug mocks base method

func (*MockILogger) Debugf

func (m *MockILogger) Debugf(format string, i ...interface{})

Debugf mocks base method

func (*MockILogger) EXPECT

func (m *MockILogger) EXPECT() *MockILoggerMockRecorder

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

func (*MockILogger) Error

func (m *MockILogger) Error(i ...interface{})

Error mocks base method

func (*MockILogger) Errorf

func (m *MockILogger) Errorf(format string, i ...interface{})

Errorf mocks base method

func (*MockILogger) Fatal

func (m *MockILogger) Fatal(i ...interface{})

Fatal mocks base method

func (*MockILogger) Fatalf

func (m *MockILogger) Fatalf(format string, i ...interface{})

Fatalf mocks base method

func (*MockILogger) GetLevel

func (m *MockILogger) GetLevel(i ...interface{}) string

GetLevel mocks base method

func (*MockILogger) Info

func (m *MockILogger) Info(i ...interface{})

Info mocks base method

func (*MockILogger) Infof

func (m *MockILogger) Infof(format string, i ...interface{})

Infof mocks base method

func (*MockILogger) Trace

func (m *MockILogger) Trace(i ...interface{})

Trace mocks base method

func (*MockILogger) Tracef

func (m *MockILogger) Tracef(format string, i ...interface{})

Tracef mocks base method

func (*MockILogger) Warn

func (m *MockILogger) Warn(i ...interface{})

Warn mocks base method

func (*MockILogger) Warnf

func (m *MockILogger) Warnf(format string, i ...interface{})

Warnf mocks base method

type MockILoggerMockRecorder

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

MockILoggerMockRecorder is the mock recorder for MockILogger

func (*MockILoggerMockRecorder) Debug

func (mr *MockILoggerMockRecorder) Debug(i ...interface{}) *gomock.Call

Debug indicates an expected call of Debug

func (*MockILoggerMockRecorder) Debugf

func (mr *MockILoggerMockRecorder) Debugf(format interface{}, i ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf

func (*MockILoggerMockRecorder) Error

func (mr *MockILoggerMockRecorder) Error(i ...interface{}) *gomock.Call

Error indicates an expected call of Error

func (*MockILoggerMockRecorder) Errorf

func (mr *MockILoggerMockRecorder) Errorf(format interface{}, i ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf

func (*MockILoggerMockRecorder) Fatal

func (mr *MockILoggerMockRecorder) Fatal(i ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal

func (*MockILoggerMockRecorder) Fatalf

func (mr *MockILoggerMockRecorder) Fatalf(format interface{}, i ...interface{}) *gomock.Call

Fatalf indicates an expected call of Fatalf

func (*MockILoggerMockRecorder) GetLevel

func (mr *MockILoggerMockRecorder) GetLevel(i ...interface{}) *gomock.Call

GetLevel indicates an expected call of GetLevel

func (*MockILoggerMockRecorder) Info

func (mr *MockILoggerMockRecorder) Info(i ...interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockILoggerMockRecorder) Infof

func (mr *MockILoggerMockRecorder) Infof(format interface{}, i ...interface{}) *gomock.Call

Infof indicates an expected call of Infof

func (*MockILoggerMockRecorder) Trace

func (mr *MockILoggerMockRecorder) Trace(i ...interface{}) *gomock.Call

Trace indicates an expected call of Trace

func (*MockILoggerMockRecorder) Tracef

func (mr *MockILoggerMockRecorder) Tracef(format interface{}, i ...interface{}) *gomock.Call

Tracef indicates an expected call of Tracef

func (*MockILoggerMockRecorder) Warn

func (mr *MockILoggerMockRecorder) Warn(i ...interface{}) *gomock.Call

Warn indicates an expected call of Warn

func (*MockILoggerMockRecorder) Warnf

func (mr *MockILoggerMockRecorder) Warnf(format interface{}, i ...interface{}) *gomock.Call

Warnf indicates an expected call of Warnf

type MockINetworker

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

MockINetworker is a mock of INetworker interface

func NewMockINetworker

func NewMockINetworker(ctrl *gomock.Controller) *MockINetworker

NewMockINetworker creates a new mock instance

func (*MockINetworker) CheckConnections

func (m *MockINetworker) CheckConnections(conns map[string]interface{})

CheckConnections mocks base method

func (*MockINetworker) EXPECT

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

func (*MockINetworker) Load

func (m *MockINetworker) Load(filepath, url string) error

Load mocks base method

type MockINetworkerMockRecorder

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

MockINetworkerMockRecorder is the mock recorder for MockINetworker

func (*MockINetworkerMockRecorder) CheckConnections

func (mr *MockINetworkerMockRecorder) CheckConnections(conns interface{}) *gomock.Call

CheckConnections indicates an expected call of CheckConnections

func (*MockINetworkerMockRecorder) Load

func (mr *MockINetworkerMockRecorder) Load(filepath, url interface{}) *gomock.Call

Load indicates an expected call of Load

type MockIProfile

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

MockIProfile is a mock of IProfile interface

func NewMockIProfile

func NewMockIProfile(ctrl *gomock.Controller) *MockIProfile

NewMockIProfile creates a new mock instance

func (*MockIProfile) AddProject

func (m *MockIProfile) AddProject() error

AddProject mocks base method

func (*MockIProfile) AddProjectByName

func (m *MockIProfile) AddProjectByName(name string) error

AddProjectByName mocks base method

func (*MockIProfile) AddProjectDirect

func (m *MockIProfile) AddProjectDirect(p interfaces.IProject) error

AddProjectDirect mocks base method

func (*MockIProfile) EXPECT

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

func (*MockIProfile) GetBasePath

func (m *MockIProfile) GetBasePath() string

GetBasePath mocks base method

func (*MockIProfile) GetCurrentProject

func (m *MockIProfile) GetCurrentProject() interfaces.IProject

GetCurrentProject mocks base method

func (*MockIProfile) GetCurrentProjectID

func (m *MockIProfile) GetCurrentProjectID() uint

GetCurrentProjectID mocks base method

func (*MockIProfile) GetID

func (m *MockIProfile) GetID() uint

GetID mocks base method

func (*MockIProfile) GetMetaData

func (m *MockIProfile) GetMetaData(key string) string

GetMetaData mocks base method

func (*MockIProfile) GetName

func (m *MockIProfile) GetName() string

GetName mocks base method

func (*MockIProfile) GetProjects

func (m *MockIProfile) GetProjects() map[string]interfaces.IProject

GetProjects mocks base method

func (*MockIProfile) GetProjectsTable

func (m *MockIProfile) GetProjectsTable() [][]string

GetProjectsTable mocks base method

func (*MockIProfile) GetValues

func (m *MockIProfile) GetValues(i ...interface{}) []string

GetValues mocks base method

func (*MockIProfile) GetValuesAsMap

func (m *MockIProfile) GetValuesAsMap(i ...interface{}) map[string]string

GetValuesAsMap mocks base method

func (*MockIProfile) IsInitialized

func (m *MockIProfile) IsInitialized() bool

IsInitialized mocks base method

func (*MockIProfile) RemoveProject

func (m *MockIProfile) RemoveProject(p interfaces.IProject) error

RemoveProject mocks base method

func (*MockIProfile) RemoveProjectByName

func (m *MockIProfile) RemoveProjectByName(name string) error

RemoveProjectByName mocks base method

func (*MockIProfile) SetCurrentProjectID

func (m *MockIProfile) SetCurrentProjectID(id uint) error

SetCurrentProjectID mocks base method

func (*MockIProfile) SetID

func (m *MockIProfile) SetID(id uint) error

SetID mocks base method

func (*MockIProfile) SetInitialized

func (m *MockIProfile) SetInitialized(init bool) error

SetInitialized mocks base method

func (*MockIProfile) SetMetaData

func (m *MockIProfile) SetMetaData(key, value string)

SetMetaData mocks base method

func (*MockIProfile) SetName

func (m *MockIProfile) SetName(n string) error

SetName mocks base method

type MockIProfileMockRecorder

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

MockIProfileMockRecorder is the mock recorder for MockIProfile

func (*MockIProfileMockRecorder) AddProject

func (mr *MockIProfileMockRecorder) AddProject() *gomock.Call

AddProject indicates an expected call of AddProject

func (*MockIProfileMockRecorder) AddProjectByName

func (mr *MockIProfileMockRecorder) AddProjectByName(name interface{}) *gomock.Call

AddProjectByName indicates an expected call of AddProjectByName

func (*MockIProfileMockRecorder) AddProjectDirect

func (mr *MockIProfileMockRecorder) AddProjectDirect(p interface{}) *gomock.Call

AddProjectDirect indicates an expected call of AddProjectDirect

func (*MockIProfileMockRecorder) GetBasePath

func (mr *MockIProfileMockRecorder) GetBasePath() *gomock.Call

GetBasePath indicates an expected call of GetBasePath

func (*MockIProfileMockRecorder) GetCurrentProject

func (mr *MockIProfileMockRecorder) GetCurrentProject() *gomock.Call

GetCurrentProject indicates an expected call of GetCurrentProject

func (*MockIProfileMockRecorder) GetCurrentProjectID

func (mr *MockIProfileMockRecorder) GetCurrentProjectID() *gomock.Call

GetCurrentProjectID indicates an expected call of GetCurrentProjectID

func (*MockIProfileMockRecorder) GetID

func (mr *MockIProfileMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockIProfileMockRecorder) GetMetaData

func (mr *MockIProfileMockRecorder) GetMetaData(key interface{}) *gomock.Call

GetMetaData indicates an expected call of GetMetaData

func (*MockIProfileMockRecorder) GetName

func (mr *MockIProfileMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockIProfileMockRecorder) GetProjects

func (mr *MockIProfileMockRecorder) GetProjects() *gomock.Call

GetProjects indicates an expected call of GetProjects

func (*MockIProfileMockRecorder) GetProjectsTable

func (mr *MockIProfileMockRecorder) GetProjectsTable() *gomock.Call

GetProjectsTable indicates an expected call of GetProjectsTable

func (*MockIProfileMockRecorder) GetValues

func (mr *MockIProfileMockRecorder) GetValues(i ...interface{}) *gomock.Call

GetValues indicates an expected call of GetValues

func (*MockIProfileMockRecorder) GetValuesAsMap

func (mr *MockIProfileMockRecorder) GetValuesAsMap(i ...interface{}) *gomock.Call

GetValuesAsMap indicates an expected call of GetValuesAsMap

func (*MockIProfileMockRecorder) IsInitialized

func (mr *MockIProfileMockRecorder) IsInitialized() *gomock.Call

IsInitialized indicates an expected call of IsInitialized

func (*MockIProfileMockRecorder) RemoveProject

func (mr *MockIProfileMockRecorder) RemoveProject(p interface{}) *gomock.Call

RemoveProject indicates an expected call of RemoveProject

func (*MockIProfileMockRecorder) RemoveProjectByName

func (mr *MockIProfileMockRecorder) RemoveProjectByName(name interface{}) *gomock.Call

RemoveProjectByName indicates an expected call of RemoveProjectByName

func (*MockIProfileMockRecorder) SetCurrentProjectID

func (mr *MockIProfileMockRecorder) SetCurrentProjectID(id interface{}) *gomock.Call

SetCurrentProjectID indicates an expected call of SetCurrentProjectID

func (*MockIProfileMockRecorder) SetID

func (mr *MockIProfileMockRecorder) SetID(id interface{}) *gomock.Call

SetID indicates an expected call of SetID

func (*MockIProfileMockRecorder) SetInitialized

func (mr *MockIProfileMockRecorder) SetInitialized(init interface{}) *gomock.Call

SetInitialized indicates an expected call of SetInitialized

func (*MockIProfileMockRecorder) SetMetaData

func (mr *MockIProfileMockRecorder) SetMetaData(key, value interface{}) *gomock.Call

SetMetaData indicates an expected call of SetMetaData

func (*MockIProfileMockRecorder) SetName

func (mr *MockIProfileMockRecorder) SetName(n interface{}) *gomock.Call

SetName indicates an expected call of SetName

type MockIProject

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

MockIProject is a mock of IProject interface

func NewMockIProject

func NewMockIProject(ctrl *gomock.Controller) *MockIProject

NewMockIProject creates a new mock instance

func (*MockIProject) EXPECT

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

func (*MockIProject) GetID

func (m *MockIProject) GetID() uint

GetID mocks base method

func (*MockIProject) GetName

func (m *MockIProject) GetName() string

GetName mocks base method

func (*MockIProject) GetPath

func (m *MockIProject) GetPath() string

GetPath mocks base method

func (*MockIProject) GetServiceByName

func (m *MockIProject) GetServiceByName(serviceName string, i ...interface{}) interfaces.ServiceMetadata

GetServiceByName mocks base method

func (*MockIProject) GetServices

func (m *MockIProject) GetServices(i ...interface{}) map[string]interfaces.ServiceMetadata

GetServices mocks base method

func (*MockIProject) GetSettingsYamlPath

func (m *MockIProject) GetSettingsYamlPath(i ...interface{}) string

GetSettingsYamlPath mocks base method

func (*MockIProject) GetValues

func (m *MockIProject) GetValues(i ...interface{}) []string

GetValues mocks base method

func (*MockIProject) Init

func (m *MockIProject) Init(core interfaces.ICore) error

Init mocks base method

func (*MockIProject) IsInitialized

func (m *MockIProject) IsInitialized() bool

IsInitialized mocks base method

func (*MockIProject) ReadSettingsObject

func (m *MockIProject) ReadSettingsObject(h interfaces.IHelper, i ...interface{}) (*interfaces.ProjectMetadata, error)

ReadSettingsObject mocks base method

func (*MockIProject) SetID

func (m *MockIProject) SetID(id uint) error

SetID mocks base method

func (*MockIProject) SetInitialized

func (m *MockIProject) SetInitialized(init bool) error

SetInitialized mocks base method

func (*MockIProject) SetName

func (m *MockIProject) SetName(n string) error

SetName mocks base method

func (*MockIProject) SetPath

func (m *MockIProject) SetPath(path string, i ...interface{}) error

SetPath mocks base method

func (*MockIProject) SetSettingsYamlPath

func (m *MockIProject) SetSettingsYamlPath(path string, i ...interface{}) error

SetSettingsYamlPath mocks base method

func (*MockIProject) WriteSettingsObject

func (m *MockIProject) WriteSettingsObject(h interfaces.IHelper, i ...interface{}) error

WriteSettingsObject mocks base method

type MockIProjectMockRecorder

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

MockIProjectMockRecorder is the mock recorder for MockIProject

func (*MockIProjectMockRecorder) GetID

func (mr *MockIProjectMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID

func (*MockIProjectMockRecorder) GetName

func (mr *MockIProjectMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockIProjectMockRecorder) GetPath

func (mr *MockIProjectMockRecorder) GetPath() *gomock.Call

GetPath indicates an expected call of GetPath

func (*MockIProjectMockRecorder) GetServiceByName

func (mr *MockIProjectMockRecorder) GetServiceByName(serviceName interface{}, i ...interface{}) *gomock.Call

GetServiceByName indicates an expected call of GetServiceByName

func (*MockIProjectMockRecorder) GetServices

func (mr *MockIProjectMockRecorder) GetServices(i ...interface{}) *gomock.Call

GetServices indicates an expected call of GetServices

func (*MockIProjectMockRecorder) GetSettingsYamlPath

func (mr *MockIProjectMockRecorder) GetSettingsYamlPath(i ...interface{}) *gomock.Call

GetSettingsYamlPath indicates an expected call of GetSettingsYamlPath

func (*MockIProjectMockRecorder) GetValues

func (mr *MockIProjectMockRecorder) GetValues(i ...interface{}) *gomock.Call

GetValues indicates an expected call of GetValues

func (*MockIProjectMockRecorder) Init

func (mr *MockIProjectMockRecorder) Init(core interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockIProjectMockRecorder) IsInitialized

func (mr *MockIProjectMockRecorder) IsInitialized() *gomock.Call

IsInitialized indicates an expected call of IsInitialized

func (*MockIProjectMockRecorder) ReadSettingsObject

func (mr *MockIProjectMockRecorder) ReadSettingsObject(h interface{}, i ...interface{}) *gomock.Call

ReadSettingsObject indicates an expected call of ReadSettingsObject

func (*MockIProjectMockRecorder) SetID

func (mr *MockIProjectMockRecorder) SetID(id interface{}) *gomock.Call

SetID indicates an expected call of SetID

func (*MockIProjectMockRecorder) SetInitialized

func (mr *MockIProjectMockRecorder) SetInitialized(init interface{}) *gomock.Call

SetInitialized indicates an expected call of SetInitialized

func (*MockIProjectMockRecorder) SetName

func (mr *MockIProjectMockRecorder) SetName(n interface{}) *gomock.Call

SetName indicates an expected call of SetName

func (*MockIProjectMockRecorder) SetPath

func (mr *MockIProjectMockRecorder) SetPath(path interface{}, i ...interface{}) *gomock.Call

SetPath indicates an expected call of SetPath

func (*MockIProjectMockRecorder) SetSettingsYamlPath

func (mr *MockIProjectMockRecorder) SetSettingsYamlPath(path interface{}, i ...interface{}) *gomock.Call

SetSettingsYamlPath indicates an expected call of SetSettingsYamlPath

func (*MockIProjectMockRecorder) WriteSettingsObject

func (mr *MockIProjectMockRecorder) WriteSettingsObject(h interface{}, i ...interface{}) *gomock.Call

WriteSettingsObject indicates an expected call of WriteSettingsObject

type MockIService

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

MockIService is a mock of IService interface

func NewMockIService

func NewMockIService(ctrl *gomock.Controller) *MockIService

NewMockIService creates a new mock instance

func (*MockIService) EXPECT

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

func (*MockIService) GetActive

func (m *MockIService) GetActive(i ...interface{}) bool

GetActive mocks base method

func (*MockIService) GetName

func (m *MockIService) GetName() string

GetName mocks base method

func (*MockIService) GetPath

func (m *MockIService) GetPath(i ...interface{}) string

GetPath mocks base method

func (*MockIService) GetValues

func (m *MockIService) GetValues(i ...interface{}) []string

GetValues mocks base method

func (*MockIService) SetActive

func (m *MockIService) SetActive(active bool, i ...interface{}) error

SetActive mocks base method

func (*MockIService) SetPath

func (m *MockIService) SetPath(path string, i ...interface{}) error

SetPath mocks base method

func (*MockIService) ToggleActive

func (m *MockIService) ToggleActive(i ...interface{}) error

ToggleActive mocks base method

type MockIServiceMockRecorder

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

MockIServiceMockRecorder is the mock recorder for MockIService

func (*MockIServiceMockRecorder) GetActive

func (mr *MockIServiceMockRecorder) GetActive(i ...interface{}) *gomock.Call

GetActive indicates an expected call of GetActive

func (*MockIServiceMockRecorder) GetName

func (mr *MockIServiceMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

func (*MockIServiceMockRecorder) GetPath

func (mr *MockIServiceMockRecorder) GetPath(i ...interface{}) *gomock.Call

GetPath indicates an expected call of GetPath

func (*MockIServiceMockRecorder) GetValues

func (mr *MockIServiceMockRecorder) GetValues(i ...interface{}) *gomock.Call

GetValues indicates an expected call of GetValues

func (*MockIServiceMockRecorder) SetActive

func (mr *MockIServiceMockRecorder) SetActive(active interface{}, i ...interface{}) *gomock.Call

SetActive indicates an expected call of SetActive

func (*MockIServiceMockRecorder) SetPath

func (mr *MockIServiceMockRecorder) SetPath(path interface{}, i ...interface{}) *gomock.Call

SetPath indicates an expected call of SetPath

func (*MockIServiceMockRecorder) ToggleActive

func (mr *MockIServiceMockRecorder) ToggleActive(i ...interface{}) *gomock.Call

ToggleActive indicates an expected call of ToggleActive

type MockIUIPlugin

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

MockIUIPlugin is a mock of IUIPlugin interface

func NewMockIUIPlugin

func NewMockIUIPlugin(ctrl *gomock.Controller) *MockIUIPlugin

NewMockIUIPlugin creates a new mock instance

func (*MockIUIPlugin) ClearScreen

func (m *MockIUIPlugin) ClearScreen(i ...interface{}) interface{}

ClearScreen mocks base method

func (*MockIUIPlugin) EXPECT

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

func (*MockIUIPlugin) PrintBanner

func (m *MockIUIPlugin) PrintBanner(i ...interface{}) interface{}

PrintBanner mocks base method

func (*MockIUIPlugin) PrintPercentOfScreen

func (m *MockIUIPlugin) PrintPercentOfScreen(startPercent, endPercent int, i ...interface{}) interface{}

PrintPercentOfScreen mocks base method

func (*MockIUIPlugin) PrintTable

func (m *MockIUIPlugin) PrintTable(heads []string, rows [][]string, i ...interface{}) interface{}

PrintTable mocks base method

func (*MockIUIPlugin) Printf

func (m *MockIUIPlugin) Printf(format string, i ...interface{}) (int, error)

Printf mocks base method

func (*MockIUIPlugin) Println

func (m *MockIUIPlugin) Println(i ...interface{}) (int, error)

Println mocks base method

func (*MockIUIPlugin) Question

func (m *MockIUIPlugin) Question(question string, i ...interface{}) error

Question mocks base method

func (*MockIUIPlugin) Questionf

func (m *MockIUIPlugin) Questionf(questionf string, answer *string, i ...interface{}) error

Questionf mocks base method

func (*MockIUIPlugin) YesNoQuestion

func (m *MockIUIPlugin) YesNoQuestion(question string, i ...interface{}) bool

YesNoQuestion mocks base method

func (*MockIUIPlugin) YesNoQuestionf

func (m *MockIUIPlugin) YesNoQuestionf(questionf string, i ...interface{}) bool

YesNoQuestionf mocks base method

type MockIUIPluginMockRecorder

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

MockIUIPluginMockRecorder is the mock recorder for MockIUIPlugin

func (*MockIUIPluginMockRecorder) ClearScreen

func (mr *MockIUIPluginMockRecorder) ClearScreen(i ...interface{}) *gomock.Call

ClearScreen indicates an expected call of ClearScreen

func (*MockIUIPluginMockRecorder) PrintBanner

func (mr *MockIUIPluginMockRecorder) PrintBanner(i ...interface{}) *gomock.Call

PrintBanner indicates an expected call of PrintBanner

func (*MockIUIPluginMockRecorder) PrintPercentOfScreen

func (mr *MockIUIPluginMockRecorder) PrintPercentOfScreen(startPercent, endPercent interface{}, i ...interface{}) *gomock.Call

PrintPercentOfScreen indicates an expected call of PrintPercentOfScreen

func (*MockIUIPluginMockRecorder) PrintTable

func (mr *MockIUIPluginMockRecorder) PrintTable(heads, rows interface{}, i ...interface{}) *gomock.Call

PrintTable indicates an expected call of PrintTable

func (*MockIUIPluginMockRecorder) Printf

func (mr *MockIUIPluginMockRecorder) Printf(format interface{}, i ...interface{}) *gomock.Call

Printf indicates an expected call of Printf

func (*MockIUIPluginMockRecorder) Println

func (mr *MockIUIPluginMockRecorder) Println(i ...interface{}) *gomock.Call

Println indicates an expected call of Println

func (*MockIUIPluginMockRecorder) Question

func (mr *MockIUIPluginMockRecorder) Question(question interface{}, i ...interface{}) *gomock.Call

Question indicates an expected call of Question

func (*MockIUIPluginMockRecorder) Questionf

func (mr *MockIUIPluginMockRecorder) Questionf(questionf, answer interface{}, i ...interface{}) *gomock.Call

Questionf indicates an expected call of Questionf

func (*MockIUIPluginMockRecorder) YesNoQuestion

func (mr *MockIUIPluginMockRecorder) YesNoQuestion(question interface{}, i ...interface{}) *gomock.Call

YesNoQuestion indicates an expected call of YesNoQuestion

func (*MockIUIPluginMockRecorder) YesNoQuestionf

func (mr *MockIUIPluginMockRecorder) YesNoQuestionf(questionf interface{}, i ...interface{}) *gomock.Call

YesNoQuestionf indicates an expected call of YesNoQuestionf

type MockIUpdater

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

MockIUpdater is a mock of IUpdater interface

func NewMockIUpdater

func NewMockIUpdater(ctrl *gomock.Controller) *MockIUpdater

NewMockIUpdater creates a new mock instance

func (*MockIUpdater) CheckSinceLastUpdate

func (m *MockIUpdater) CheckSinceLastUpdate(version string, core interfaces.ICore) error

CheckSinceLastUpdate mocks base method

func (*MockIUpdater) CheckUpdate

func (m *MockIUpdater) CheckUpdate(version string, core interfaces.ICore) error

CheckUpdate mocks base method

func (*MockIUpdater) EXPECT

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

type MockIUpdaterMockRecorder

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

MockIUpdaterMockRecorder is the mock recorder for MockIUpdater

func (*MockIUpdaterMockRecorder) CheckSinceLastUpdate

func (mr *MockIUpdaterMockRecorder) CheckSinceLastUpdate(version, core interface{}) *gomock.Call

CheckSinceLastUpdate indicates an expected call of CheckSinceLastUpdate

func (*MockIUpdaterMockRecorder) CheckUpdate

func (mr *MockIUpdaterMockRecorder) CheckUpdate(version, core interface{}) *gomock.Call

CheckUpdate indicates an expected call of CheckUpdate

Jump to

Keyboard shortcuts

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