Documentation ¶
Index ¶
- type Client
- func (_m *Client) CheckCloudInitLogsForSigTerm() sshclient.Output
- func (_m *Client) CleanCloudInitInstances() sshclient.Output
- func (_m *Client) CleanCloudInitLogs() sshclient.Output
- func (_m *Client) CloudInitStatus() sshclient.Output
- func (_m *Client) CreateAutoSetup(data string) sshclient.Output
- func (_m *Client) CreateMetaData(hostName string) sshclient.Output
- func (_m *Client) CreateNoCloudDirectory() sshclient.Output
- func (_m *Client) CreatePostInstallScript(data string) sshclient.Output
- func (_m *Client) CreateUserData(userData string) sshclient.Output
- func (_m *Client) DetectLinuxOnAnotherDisk(sliceOfWwns []string) sshclient.Output
- func (_m *Client) DownloadImage(path string, url string) sshclient.Output
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) EnsureCloudInit() sshclient.Output
- func (_m *Client) ExecuteInstallImage(hasPostInstallScript bool) sshclient.Output
- func (_m *Client) GetCloudInitOutput() sshclient.Output
- func (_m *Client) GetHardwareDetailsCPUArch() sshclient.Output
- func (_m *Client) GetHardwareDetailsCPUClockGigahertz() sshclient.Output
- func (_m *Client) GetHardwareDetailsCPUCores() sshclient.Output
- func (_m *Client) GetHardwareDetailsCPUFlags() sshclient.Output
- func (_m *Client) GetHardwareDetailsCPUModel() sshclient.Output
- func (_m *Client) GetHardwareDetailsCPUThreads() sshclient.Output
- func (_m *Client) GetHardwareDetailsDebug() sshclient.Output
- func (_m *Client) GetHardwareDetailsNics() sshclient.Output
- func (_m *Client) GetHardwareDetailsRAM() sshclient.Output
- func (_m *Client) GetHardwareDetailsStorage() sshclient.Output
- func (_m *Client) GetHostName() sshclient.Output
- func (_m *Client) GetRunningInstallImageProcesses() sshclient.Output
- func (_m *Client) Reboot() sshclient.Output
- func (_m *Client) ResetKubeadm() sshclient.Output
- func (_m *Client) UntarTGZ() sshclient.Output
- type Client_CheckCloudInitLogsForSigTerm_Call
- func (_c *Client_CheckCloudInitLogsForSigTerm_Call) Return(_a0 sshclient.Output) *Client_CheckCloudInitLogsForSigTerm_Call
- func (_c *Client_CheckCloudInitLogsForSigTerm_Call) Run(run func()) *Client_CheckCloudInitLogsForSigTerm_Call
- func (_c *Client_CheckCloudInitLogsForSigTerm_Call) RunAndReturn(run func() sshclient.Output) *Client_CheckCloudInitLogsForSigTerm_Call
- type Client_CleanCloudInitInstances_Call
- func (_c *Client_CleanCloudInitInstances_Call) Return(_a0 sshclient.Output) *Client_CleanCloudInitInstances_Call
- func (_c *Client_CleanCloudInitInstances_Call) Run(run func()) *Client_CleanCloudInitInstances_Call
- func (_c *Client_CleanCloudInitInstances_Call) RunAndReturn(run func() sshclient.Output) *Client_CleanCloudInitInstances_Call
- type Client_CleanCloudInitLogs_Call
- func (_c *Client_CleanCloudInitLogs_Call) Return(_a0 sshclient.Output) *Client_CleanCloudInitLogs_Call
- func (_c *Client_CleanCloudInitLogs_Call) Run(run func()) *Client_CleanCloudInitLogs_Call
- func (_c *Client_CleanCloudInitLogs_Call) RunAndReturn(run func() sshclient.Output) *Client_CleanCloudInitLogs_Call
- type Client_CloudInitStatus_Call
- type Client_CreateAutoSetup_Call
- func (_c *Client_CreateAutoSetup_Call) Return(_a0 sshclient.Output) *Client_CreateAutoSetup_Call
- func (_c *Client_CreateAutoSetup_Call) Run(run func(data string)) *Client_CreateAutoSetup_Call
- func (_c *Client_CreateAutoSetup_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreateAutoSetup_Call
- type Client_CreateMetaData_Call
- func (_c *Client_CreateMetaData_Call) Return(_a0 sshclient.Output) *Client_CreateMetaData_Call
- func (_c *Client_CreateMetaData_Call) Run(run func(hostName string)) *Client_CreateMetaData_Call
- func (_c *Client_CreateMetaData_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreateMetaData_Call
- type Client_CreateNoCloudDirectory_Call
- func (_c *Client_CreateNoCloudDirectory_Call) Return(_a0 sshclient.Output) *Client_CreateNoCloudDirectory_Call
- func (_c *Client_CreateNoCloudDirectory_Call) Run(run func()) *Client_CreateNoCloudDirectory_Call
- func (_c *Client_CreateNoCloudDirectory_Call) RunAndReturn(run func() sshclient.Output) *Client_CreateNoCloudDirectory_Call
- type Client_CreatePostInstallScript_Call
- func (_c *Client_CreatePostInstallScript_Call) Return(_a0 sshclient.Output) *Client_CreatePostInstallScript_Call
- func (_c *Client_CreatePostInstallScript_Call) Run(run func(data string)) *Client_CreatePostInstallScript_Call
- func (_c *Client_CreatePostInstallScript_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreatePostInstallScript_Call
- type Client_CreateUserData_Call
- func (_c *Client_CreateUserData_Call) Return(_a0 sshclient.Output) *Client_CreateUserData_Call
- func (_c *Client_CreateUserData_Call) Run(run func(userData string)) *Client_CreateUserData_Call
- func (_c *Client_CreateUserData_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreateUserData_Call
- type Client_DetectLinuxOnAnotherDisk_Call
- func (_c *Client_DetectLinuxOnAnotherDisk_Call) Return(_a0 sshclient.Output) *Client_DetectLinuxOnAnotherDisk_Call
- func (_c *Client_DetectLinuxOnAnotherDisk_Call) Run(run func(sliceOfWwns []string)) *Client_DetectLinuxOnAnotherDisk_Call
- func (_c *Client_DetectLinuxOnAnotherDisk_Call) RunAndReturn(run func([]string) sshclient.Output) *Client_DetectLinuxOnAnotherDisk_Call
- type Client_DownloadImage_Call
- func (_c *Client_DownloadImage_Call) Return(_a0 sshclient.Output) *Client_DownloadImage_Call
- func (_c *Client_DownloadImage_Call) Run(run func(path string, url string)) *Client_DownloadImage_Call
- func (_c *Client_DownloadImage_Call) RunAndReturn(run func(string, string) sshclient.Output) *Client_DownloadImage_Call
- type Client_EnsureCloudInit_Call
- type Client_ExecuteInstallImage_Call
- func (_c *Client_ExecuteInstallImage_Call) Return(_a0 sshclient.Output) *Client_ExecuteInstallImage_Call
- func (_c *Client_ExecuteInstallImage_Call) Run(run func(hasPostInstallScript bool)) *Client_ExecuteInstallImage_Call
- func (_c *Client_ExecuteInstallImage_Call) RunAndReturn(run func(bool) sshclient.Output) *Client_ExecuteInstallImage_Call
- type Client_Expecter
- func (_e *Client_Expecter) CheckCloudInitLogsForSigTerm() *Client_CheckCloudInitLogsForSigTerm_Call
- func (_e *Client_Expecter) CleanCloudInitInstances() *Client_CleanCloudInitInstances_Call
- func (_e *Client_Expecter) CleanCloudInitLogs() *Client_CleanCloudInitLogs_Call
- func (_e *Client_Expecter) CloudInitStatus() *Client_CloudInitStatus_Call
- func (_e *Client_Expecter) CreateAutoSetup(data interface{}) *Client_CreateAutoSetup_Call
- func (_e *Client_Expecter) CreateMetaData(hostName interface{}) *Client_CreateMetaData_Call
- func (_e *Client_Expecter) CreateNoCloudDirectory() *Client_CreateNoCloudDirectory_Call
- func (_e *Client_Expecter) CreatePostInstallScript(data interface{}) *Client_CreatePostInstallScript_Call
- func (_e *Client_Expecter) CreateUserData(userData interface{}) *Client_CreateUserData_Call
- func (_e *Client_Expecter) DetectLinuxOnAnotherDisk(sliceOfWwns interface{}) *Client_DetectLinuxOnAnotherDisk_Call
- func (_e *Client_Expecter) DownloadImage(path interface{}, url interface{}) *Client_DownloadImage_Call
- func (_e *Client_Expecter) EnsureCloudInit() *Client_EnsureCloudInit_Call
- func (_e *Client_Expecter) ExecuteInstallImage(hasPostInstallScript interface{}) *Client_ExecuteInstallImage_Call
- func (_e *Client_Expecter) GetCloudInitOutput() *Client_GetCloudInitOutput_Call
- func (_e *Client_Expecter) GetHardwareDetailsCPUArch() *Client_GetHardwareDetailsCPUArch_Call
- func (_e *Client_Expecter) GetHardwareDetailsCPUClockGigahertz() *Client_GetHardwareDetailsCPUClockGigahertz_Call
- func (_e *Client_Expecter) GetHardwareDetailsCPUCores() *Client_GetHardwareDetailsCPUCores_Call
- func (_e *Client_Expecter) GetHardwareDetailsCPUFlags() *Client_GetHardwareDetailsCPUFlags_Call
- func (_e *Client_Expecter) GetHardwareDetailsCPUModel() *Client_GetHardwareDetailsCPUModel_Call
- func (_e *Client_Expecter) GetHardwareDetailsCPUThreads() *Client_GetHardwareDetailsCPUThreads_Call
- func (_e *Client_Expecter) GetHardwareDetailsDebug() *Client_GetHardwareDetailsDebug_Call
- func (_e *Client_Expecter) GetHardwareDetailsNics() *Client_GetHardwareDetailsNics_Call
- func (_e *Client_Expecter) GetHardwareDetailsRAM() *Client_GetHardwareDetailsRAM_Call
- func (_e *Client_Expecter) GetHardwareDetailsStorage() *Client_GetHardwareDetailsStorage_Call
- func (_e *Client_Expecter) GetHostName() *Client_GetHostName_Call
- func (_e *Client_Expecter) GetRunningInstallImageProcesses() *Client_GetRunningInstallImageProcesses_Call
- func (_e *Client_Expecter) Reboot() *Client_Reboot_Call
- func (_e *Client_Expecter) ResetKubeadm() *Client_ResetKubeadm_Call
- func (_e *Client_Expecter) UntarTGZ() *Client_UntarTGZ_Call
- type Client_GetCloudInitOutput_Call
- func (_c *Client_GetCloudInitOutput_Call) Return(_a0 sshclient.Output) *Client_GetCloudInitOutput_Call
- func (_c *Client_GetCloudInitOutput_Call) Run(run func()) *Client_GetCloudInitOutput_Call
- func (_c *Client_GetCloudInitOutput_Call) RunAndReturn(run func() sshclient.Output) *Client_GetCloudInitOutput_Call
- type Client_GetHardwareDetailsCPUArch_Call
- func (_c *Client_GetHardwareDetailsCPUArch_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUArch_Call
- func (_c *Client_GetHardwareDetailsCPUArch_Call) Run(run func()) *Client_GetHardwareDetailsCPUArch_Call
- func (_c *Client_GetHardwareDetailsCPUArch_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUArch_Call
- type Client_GetHardwareDetailsCPUClockGigahertz_Call
- func (_c *Client_GetHardwareDetailsCPUClockGigahertz_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUClockGigahertz_Call
- func (_c *Client_GetHardwareDetailsCPUClockGigahertz_Call) Run(run func()) *Client_GetHardwareDetailsCPUClockGigahertz_Call
- func (_c *Client_GetHardwareDetailsCPUClockGigahertz_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUClockGigahertz_Call
- type Client_GetHardwareDetailsCPUCores_Call
- func (_c *Client_GetHardwareDetailsCPUCores_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUCores_Call
- func (_c *Client_GetHardwareDetailsCPUCores_Call) Run(run func()) *Client_GetHardwareDetailsCPUCores_Call
- func (_c *Client_GetHardwareDetailsCPUCores_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUCores_Call
- type Client_GetHardwareDetailsCPUFlags_Call
- func (_c *Client_GetHardwareDetailsCPUFlags_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUFlags_Call
- func (_c *Client_GetHardwareDetailsCPUFlags_Call) Run(run func()) *Client_GetHardwareDetailsCPUFlags_Call
- func (_c *Client_GetHardwareDetailsCPUFlags_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUFlags_Call
- type Client_GetHardwareDetailsCPUModel_Call
- func (_c *Client_GetHardwareDetailsCPUModel_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUModel_Call
- func (_c *Client_GetHardwareDetailsCPUModel_Call) Run(run func()) *Client_GetHardwareDetailsCPUModel_Call
- func (_c *Client_GetHardwareDetailsCPUModel_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUModel_Call
- type Client_GetHardwareDetailsCPUThreads_Call
- func (_c *Client_GetHardwareDetailsCPUThreads_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUThreads_Call
- func (_c *Client_GetHardwareDetailsCPUThreads_Call) Run(run func()) *Client_GetHardwareDetailsCPUThreads_Call
- func (_c *Client_GetHardwareDetailsCPUThreads_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUThreads_Call
- type Client_GetHardwareDetailsDebug_Call
- func (_c *Client_GetHardwareDetailsDebug_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsDebug_Call
- func (_c *Client_GetHardwareDetailsDebug_Call) Run(run func()) *Client_GetHardwareDetailsDebug_Call
- func (_c *Client_GetHardwareDetailsDebug_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsDebug_Call
- type Client_GetHardwareDetailsNics_Call
- func (_c *Client_GetHardwareDetailsNics_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsNics_Call
- func (_c *Client_GetHardwareDetailsNics_Call) Run(run func()) *Client_GetHardwareDetailsNics_Call
- func (_c *Client_GetHardwareDetailsNics_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsNics_Call
- type Client_GetHardwareDetailsRAM_Call
- func (_c *Client_GetHardwareDetailsRAM_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsRAM_Call
- func (_c *Client_GetHardwareDetailsRAM_Call) Run(run func()) *Client_GetHardwareDetailsRAM_Call
- func (_c *Client_GetHardwareDetailsRAM_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsRAM_Call
- type Client_GetHardwareDetailsStorage_Call
- func (_c *Client_GetHardwareDetailsStorage_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsStorage_Call
- func (_c *Client_GetHardwareDetailsStorage_Call) Run(run func()) *Client_GetHardwareDetailsStorage_Call
- func (_c *Client_GetHardwareDetailsStorage_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsStorage_Call
- type Client_GetHostName_Call
- type Client_GetRunningInstallImageProcesses_Call
- func (_c *Client_GetRunningInstallImageProcesses_Call) Return(_a0 sshclient.Output) *Client_GetRunningInstallImageProcesses_Call
- func (_c *Client_GetRunningInstallImageProcesses_Call) Run(run func()) *Client_GetRunningInstallImageProcesses_Call
- func (_c *Client_GetRunningInstallImageProcesses_Call) RunAndReturn(run func() sshclient.Output) *Client_GetRunningInstallImageProcesses_Call
- type Client_Reboot_Call
- type Client_ResetKubeadm_Call
- type Client_UntarTGZ_Call
- type Factory
- type Factory_Expecter
- type Factory_NewClient_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) CheckCloudInitLogsForSigTerm ¶
CheckCloudInitLogsForSigTerm provides a mock function with given fields:
func (*Client) CleanCloudInitInstances ¶
CleanCloudInitInstances provides a mock function with given fields:
func (*Client) CleanCloudInitLogs ¶
CleanCloudInitLogs provides a mock function with given fields:
func (*Client) CloudInitStatus ¶
CloudInitStatus provides a mock function with given fields:
func (*Client) CreateAutoSetup ¶
CreateAutoSetup provides a mock function with given fields: data
func (*Client) CreateMetaData ¶
CreateMetaData provides a mock function with given fields: hostName
func (*Client) CreateNoCloudDirectory ¶
CreateNoCloudDirectory provides a mock function with given fields:
func (*Client) CreatePostInstallScript ¶
CreatePostInstallScript provides a mock function with given fields: data
func (*Client) CreateUserData ¶
CreateUserData provides a mock function with given fields: userData
func (*Client) DetectLinuxOnAnotherDisk ¶
DetectLinuxOnAnotherDisk provides a mock function with given fields: sliceOfWwns
func (*Client) DownloadImage ¶
DownloadImage provides a mock function with given fields: path, url
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) EnsureCloudInit ¶
EnsureCloudInit provides a mock function with given fields:
func (*Client) ExecuteInstallImage ¶
ExecuteInstallImage provides a mock function with given fields: hasPostInstallScript
func (*Client) GetCloudInitOutput ¶
GetCloudInitOutput provides a mock function with given fields:
func (*Client) GetHardwareDetailsCPUArch ¶
GetHardwareDetailsCPUArch provides a mock function with given fields:
func (*Client) GetHardwareDetailsCPUClockGigahertz ¶
GetHardwareDetailsCPUClockGigahertz provides a mock function with given fields:
func (*Client) GetHardwareDetailsCPUCores ¶
GetHardwareDetailsCPUCores provides a mock function with given fields:
func (*Client) GetHardwareDetailsCPUFlags ¶
GetHardwareDetailsCPUFlags provides a mock function with given fields:
func (*Client) GetHardwareDetailsCPUModel ¶
GetHardwareDetailsCPUModel provides a mock function with given fields:
func (*Client) GetHardwareDetailsCPUThreads ¶
GetHardwareDetailsCPUThreads provides a mock function with given fields:
func (*Client) GetHardwareDetailsDebug ¶
GetHardwareDetailsDebug provides a mock function with given fields:
func (*Client) GetHardwareDetailsNics ¶
GetHardwareDetailsNics provides a mock function with given fields:
func (*Client) GetHardwareDetailsRAM ¶
GetHardwareDetailsRAM provides a mock function with given fields:
func (*Client) GetHardwareDetailsStorage ¶
GetHardwareDetailsStorage provides a mock function with given fields:
func (*Client) GetHostName ¶
GetHostName provides a mock function with given fields:
func (*Client) GetRunningInstallImageProcesses ¶
GetRunningInstallImageProcesses provides a mock function with given fields:
func (*Client) ResetKubeadm ¶
ResetKubeadm provides a mock function with given fields:
type Client_CheckCloudInitLogsForSigTerm_Call ¶
Client_CheckCloudInitLogsForSigTerm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckCloudInitLogsForSigTerm'
func (*Client_CheckCloudInitLogsForSigTerm_Call) Return ¶
func (_c *Client_CheckCloudInitLogsForSigTerm_Call) Return(_a0 sshclient.Output) *Client_CheckCloudInitLogsForSigTerm_Call
func (*Client_CheckCloudInitLogsForSigTerm_Call) Run ¶
func (_c *Client_CheckCloudInitLogsForSigTerm_Call) Run(run func()) *Client_CheckCloudInitLogsForSigTerm_Call
func (*Client_CheckCloudInitLogsForSigTerm_Call) RunAndReturn ¶
func (_c *Client_CheckCloudInitLogsForSigTerm_Call) RunAndReturn(run func() sshclient.Output) *Client_CheckCloudInitLogsForSigTerm_Call
type Client_CleanCloudInitInstances_Call ¶
Client_CleanCloudInitInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanCloudInitInstances'
func (*Client_CleanCloudInitInstances_Call) Return ¶
func (_c *Client_CleanCloudInitInstances_Call) Return(_a0 sshclient.Output) *Client_CleanCloudInitInstances_Call
func (*Client_CleanCloudInitInstances_Call) Run ¶
func (_c *Client_CleanCloudInitInstances_Call) Run(run func()) *Client_CleanCloudInitInstances_Call
func (*Client_CleanCloudInitInstances_Call) RunAndReturn ¶
func (_c *Client_CleanCloudInitInstances_Call) RunAndReturn(run func() sshclient.Output) *Client_CleanCloudInitInstances_Call
type Client_CleanCloudInitLogs_Call ¶
Client_CleanCloudInitLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanCloudInitLogs'
func (*Client_CleanCloudInitLogs_Call) Return ¶
func (_c *Client_CleanCloudInitLogs_Call) Return(_a0 sshclient.Output) *Client_CleanCloudInitLogs_Call
func (*Client_CleanCloudInitLogs_Call) Run ¶
func (_c *Client_CleanCloudInitLogs_Call) Run(run func()) *Client_CleanCloudInitLogs_Call
func (*Client_CleanCloudInitLogs_Call) RunAndReturn ¶
func (_c *Client_CleanCloudInitLogs_Call) RunAndReturn(run func() sshclient.Output) *Client_CleanCloudInitLogs_Call
type Client_CloudInitStatus_Call ¶
Client_CloudInitStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloudInitStatus'
func (*Client_CloudInitStatus_Call) Return ¶
func (_c *Client_CloudInitStatus_Call) Return(_a0 sshclient.Output) *Client_CloudInitStatus_Call
func (*Client_CloudInitStatus_Call) Run ¶
func (_c *Client_CloudInitStatus_Call) Run(run func()) *Client_CloudInitStatus_Call
func (*Client_CloudInitStatus_Call) RunAndReturn ¶
func (_c *Client_CloudInitStatus_Call) RunAndReturn(run func() sshclient.Output) *Client_CloudInitStatus_Call
type Client_CreateAutoSetup_Call ¶
Client_CreateAutoSetup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAutoSetup'
func (*Client_CreateAutoSetup_Call) Return ¶
func (_c *Client_CreateAutoSetup_Call) Return(_a0 sshclient.Output) *Client_CreateAutoSetup_Call
func (*Client_CreateAutoSetup_Call) Run ¶
func (_c *Client_CreateAutoSetup_Call) Run(run func(data string)) *Client_CreateAutoSetup_Call
func (*Client_CreateAutoSetup_Call) RunAndReturn ¶
func (_c *Client_CreateAutoSetup_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreateAutoSetup_Call
type Client_CreateMetaData_Call ¶
Client_CreateMetaData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMetaData'
func (*Client_CreateMetaData_Call) Return ¶
func (_c *Client_CreateMetaData_Call) Return(_a0 sshclient.Output) *Client_CreateMetaData_Call
func (*Client_CreateMetaData_Call) Run ¶
func (_c *Client_CreateMetaData_Call) Run(run func(hostName string)) *Client_CreateMetaData_Call
func (*Client_CreateMetaData_Call) RunAndReturn ¶
func (_c *Client_CreateMetaData_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreateMetaData_Call
type Client_CreateNoCloudDirectory_Call ¶
Client_CreateNoCloudDirectory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateNoCloudDirectory'
func (*Client_CreateNoCloudDirectory_Call) Return ¶
func (_c *Client_CreateNoCloudDirectory_Call) Return(_a0 sshclient.Output) *Client_CreateNoCloudDirectory_Call
func (*Client_CreateNoCloudDirectory_Call) Run ¶
func (_c *Client_CreateNoCloudDirectory_Call) Run(run func()) *Client_CreateNoCloudDirectory_Call
func (*Client_CreateNoCloudDirectory_Call) RunAndReturn ¶
func (_c *Client_CreateNoCloudDirectory_Call) RunAndReturn(run func() sshclient.Output) *Client_CreateNoCloudDirectory_Call
type Client_CreatePostInstallScript_Call ¶
Client_CreatePostInstallScript_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePostInstallScript'
func (*Client_CreatePostInstallScript_Call) Return ¶
func (_c *Client_CreatePostInstallScript_Call) Return(_a0 sshclient.Output) *Client_CreatePostInstallScript_Call
func (*Client_CreatePostInstallScript_Call) Run ¶
func (_c *Client_CreatePostInstallScript_Call) Run(run func(data string)) *Client_CreatePostInstallScript_Call
func (*Client_CreatePostInstallScript_Call) RunAndReturn ¶
func (_c *Client_CreatePostInstallScript_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreatePostInstallScript_Call
type Client_CreateUserData_Call ¶
Client_CreateUserData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUserData'
func (*Client_CreateUserData_Call) Return ¶
func (_c *Client_CreateUserData_Call) Return(_a0 sshclient.Output) *Client_CreateUserData_Call
func (*Client_CreateUserData_Call) Run ¶
func (_c *Client_CreateUserData_Call) Run(run func(userData string)) *Client_CreateUserData_Call
func (*Client_CreateUserData_Call) RunAndReturn ¶
func (_c *Client_CreateUserData_Call) RunAndReturn(run func(string) sshclient.Output) *Client_CreateUserData_Call
type Client_DetectLinuxOnAnotherDisk_Call ¶
Client_DetectLinuxOnAnotherDisk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetectLinuxOnAnotherDisk'
func (*Client_DetectLinuxOnAnotherDisk_Call) Return ¶
func (_c *Client_DetectLinuxOnAnotherDisk_Call) Return(_a0 sshclient.Output) *Client_DetectLinuxOnAnotherDisk_Call
func (*Client_DetectLinuxOnAnotherDisk_Call) Run ¶
func (_c *Client_DetectLinuxOnAnotherDisk_Call) Run(run func(sliceOfWwns []string)) *Client_DetectLinuxOnAnotherDisk_Call
func (*Client_DetectLinuxOnAnotherDisk_Call) RunAndReturn ¶
func (_c *Client_DetectLinuxOnAnotherDisk_Call) RunAndReturn(run func([]string) sshclient.Output) *Client_DetectLinuxOnAnotherDisk_Call
type Client_DownloadImage_Call ¶
Client_DownloadImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadImage'
func (*Client_DownloadImage_Call) Return ¶
func (_c *Client_DownloadImage_Call) Return(_a0 sshclient.Output) *Client_DownloadImage_Call
func (*Client_DownloadImage_Call) Run ¶
func (_c *Client_DownloadImage_Call) Run(run func(path string, url string)) *Client_DownloadImage_Call
func (*Client_DownloadImage_Call) RunAndReturn ¶
func (_c *Client_DownloadImage_Call) RunAndReturn(run func(string, string) sshclient.Output) *Client_DownloadImage_Call
type Client_EnsureCloudInit_Call ¶
Client_EnsureCloudInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureCloudInit'
func (*Client_EnsureCloudInit_Call) Return ¶
func (_c *Client_EnsureCloudInit_Call) Return(_a0 sshclient.Output) *Client_EnsureCloudInit_Call
func (*Client_EnsureCloudInit_Call) Run ¶
func (_c *Client_EnsureCloudInit_Call) Run(run func()) *Client_EnsureCloudInit_Call
func (*Client_EnsureCloudInit_Call) RunAndReturn ¶
func (_c *Client_EnsureCloudInit_Call) RunAndReturn(run func() sshclient.Output) *Client_EnsureCloudInit_Call
type Client_ExecuteInstallImage_Call ¶
Client_ExecuteInstallImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteInstallImage'
func (*Client_ExecuteInstallImage_Call) Return ¶
func (_c *Client_ExecuteInstallImage_Call) Return(_a0 sshclient.Output) *Client_ExecuteInstallImage_Call
func (*Client_ExecuteInstallImage_Call) Run ¶
func (_c *Client_ExecuteInstallImage_Call) Run(run func(hasPostInstallScript bool)) *Client_ExecuteInstallImage_Call
func (*Client_ExecuteInstallImage_Call) RunAndReturn ¶
func (_c *Client_ExecuteInstallImage_Call) RunAndReturn(run func(bool) sshclient.Output) *Client_ExecuteInstallImage_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) CheckCloudInitLogsForSigTerm ¶
func (_e *Client_Expecter) CheckCloudInitLogsForSigTerm() *Client_CheckCloudInitLogsForSigTerm_Call
CheckCloudInitLogsForSigTerm is a helper method to define mock.On call
func (*Client_Expecter) CleanCloudInitInstances ¶
func (_e *Client_Expecter) CleanCloudInitInstances() *Client_CleanCloudInitInstances_Call
CleanCloudInitInstances is a helper method to define mock.On call
func (*Client_Expecter) CleanCloudInitLogs ¶
func (_e *Client_Expecter) CleanCloudInitLogs() *Client_CleanCloudInitLogs_Call
CleanCloudInitLogs is a helper method to define mock.On call
func (*Client_Expecter) CloudInitStatus ¶
func (_e *Client_Expecter) CloudInitStatus() *Client_CloudInitStatus_Call
CloudInitStatus is a helper method to define mock.On call
func (*Client_Expecter) CreateAutoSetup ¶
func (_e *Client_Expecter) CreateAutoSetup(data interface{}) *Client_CreateAutoSetup_Call
CreateAutoSetup is a helper method to define mock.On call
- data string
func (*Client_Expecter) CreateMetaData ¶
func (_e *Client_Expecter) CreateMetaData(hostName interface{}) *Client_CreateMetaData_Call
CreateMetaData is a helper method to define mock.On call
- hostName string
func (*Client_Expecter) CreateNoCloudDirectory ¶
func (_e *Client_Expecter) CreateNoCloudDirectory() *Client_CreateNoCloudDirectory_Call
CreateNoCloudDirectory is a helper method to define mock.On call
func (*Client_Expecter) CreatePostInstallScript ¶
func (_e *Client_Expecter) CreatePostInstallScript(data interface{}) *Client_CreatePostInstallScript_Call
CreatePostInstallScript is a helper method to define mock.On call
- data string
func (*Client_Expecter) CreateUserData ¶
func (_e *Client_Expecter) CreateUserData(userData interface{}) *Client_CreateUserData_Call
CreateUserData is a helper method to define mock.On call
- userData string
func (*Client_Expecter) DetectLinuxOnAnotherDisk ¶
func (_e *Client_Expecter) DetectLinuxOnAnotherDisk(sliceOfWwns interface{}) *Client_DetectLinuxOnAnotherDisk_Call
DetectLinuxOnAnotherDisk is a helper method to define mock.On call
- sliceOfWwns []string
func (*Client_Expecter) DownloadImage ¶
func (_e *Client_Expecter) DownloadImage(path interface{}, url interface{}) *Client_DownloadImage_Call
DownloadImage is a helper method to define mock.On call
- path string
- url string
func (*Client_Expecter) EnsureCloudInit ¶
func (_e *Client_Expecter) EnsureCloudInit() *Client_EnsureCloudInit_Call
EnsureCloudInit is a helper method to define mock.On call
func (*Client_Expecter) ExecuteInstallImage ¶
func (_e *Client_Expecter) ExecuteInstallImage(hasPostInstallScript interface{}) *Client_ExecuteInstallImage_Call
ExecuteInstallImage is a helper method to define mock.On call
- hasPostInstallScript bool
func (*Client_Expecter) GetCloudInitOutput ¶
func (_e *Client_Expecter) GetCloudInitOutput() *Client_GetCloudInitOutput_Call
GetCloudInitOutput is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsCPUArch ¶
func (_e *Client_Expecter) GetHardwareDetailsCPUArch() *Client_GetHardwareDetailsCPUArch_Call
GetHardwareDetailsCPUArch is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsCPUClockGigahertz ¶
func (_e *Client_Expecter) GetHardwareDetailsCPUClockGigahertz() *Client_GetHardwareDetailsCPUClockGigahertz_Call
GetHardwareDetailsCPUClockGigahertz is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsCPUCores ¶
func (_e *Client_Expecter) GetHardwareDetailsCPUCores() *Client_GetHardwareDetailsCPUCores_Call
GetHardwareDetailsCPUCores is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsCPUFlags ¶
func (_e *Client_Expecter) GetHardwareDetailsCPUFlags() *Client_GetHardwareDetailsCPUFlags_Call
GetHardwareDetailsCPUFlags is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsCPUModel ¶
func (_e *Client_Expecter) GetHardwareDetailsCPUModel() *Client_GetHardwareDetailsCPUModel_Call
GetHardwareDetailsCPUModel is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsCPUThreads ¶
func (_e *Client_Expecter) GetHardwareDetailsCPUThreads() *Client_GetHardwareDetailsCPUThreads_Call
GetHardwareDetailsCPUThreads is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsDebug ¶
func (_e *Client_Expecter) GetHardwareDetailsDebug() *Client_GetHardwareDetailsDebug_Call
GetHardwareDetailsDebug is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsNics ¶
func (_e *Client_Expecter) GetHardwareDetailsNics() *Client_GetHardwareDetailsNics_Call
GetHardwareDetailsNics is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsRAM ¶
func (_e *Client_Expecter) GetHardwareDetailsRAM() *Client_GetHardwareDetailsRAM_Call
GetHardwareDetailsRAM is a helper method to define mock.On call
func (*Client_Expecter) GetHardwareDetailsStorage ¶
func (_e *Client_Expecter) GetHardwareDetailsStorage() *Client_GetHardwareDetailsStorage_Call
GetHardwareDetailsStorage is a helper method to define mock.On call
func (*Client_Expecter) GetHostName ¶
func (_e *Client_Expecter) GetHostName() *Client_GetHostName_Call
GetHostName is a helper method to define mock.On call
func (*Client_Expecter) GetRunningInstallImageProcesses ¶
func (_e *Client_Expecter) GetRunningInstallImageProcesses() *Client_GetRunningInstallImageProcesses_Call
GetRunningInstallImageProcesses is a helper method to define mock.On call
func (*Client_Expecter) Reboot ¶
func (_e *Client_Expecter) Reboot() *Client_Reboot_Call
Reboot is a helper method to define mock.On call
func (*Client_Expecter) ResetKubeadm ¶
func (_e *Client_Expecter) ResetKubeadm() *Client_ResetKubeadm_Call
ResetKubeadm is a helper method to define mock.On call
func (*Client_Expecter) UntarTGZ ¶
func (_e *Client_Expecter) UntarTGZ() *Client_UntarTGZ_Call
UntarTGZ is a helper method to define mock.On call
type Client_GetCloudInitOutput_Call ¶
Client_GetCloudInitOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCloudInitOutput'
func (*Client_GetCloudInitOutput_Call) Return ¶
func (_c *Client_GetCloudInitOutput_Call) Return(_a0 sshclient.Output) *Client_GetCloudInitOutput_Call
func (*Client_GetCloudInitOutput_Call) Run ¶
func (_c *Client_GetCloudInitOutput_Call) Run(run func()) *Client_GetCloudInitOutput_Call
func (*Client_GetCloudInitOutput_Call) RunAndReturn ¶
func (_c *Client_GetCloudInitOutput_Call) RunAndReturn(run func() sshclient.Output) *Client_GetCloudInitOutput_Call
type Client_GetHardwareDetailsCPUArch_Call ¶
Client_GetHardwareDetailsCPUArch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsCPUArch'
func (*Client_GetHardwareDetailsCPUArch_Call) Return ¶
func (_c *Client_GetHardwareDetailsCPUArch_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUArch_Call
func (*Client_GetHardwareDetailsCPUArch_Call) Run ¶
func (_c *Client_GetHardwareDetailsCPUArch_Call) Run(run func()) *Client_GetHardwareDetailsCPUArch_Call
func (*Client_GetHardwareDetailsCPUArch_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsCPUArch_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUArch_Call
type Client_GetHardwareDetailsCPUClockGigahertz_Call ¶
Client_GetHardwareDetailsCPUClockGigahertz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsCPUClockGigahertz'
func (*Client_GetHardwareDetailsCPUClockGigahertz_Call) Run ¶
func (_c *Client_GetHardwareDetailsCPUClockGigahertz_Call) Run(run func()) *Client_GetHardwareDetailsCPUClockGigahertz_Call
func (*Client_GetHardwareDetailsCPUClockGigahertz_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsCPUClockGigahertz_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUClockGigahertz_Call
type Client_GetHardwareDetailsCPUCores_Call ¶
Client_GetHardwareDetailsCPUCores_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsCPUCores'
func (*Client_GetHardwareDetailsCPUCores_Call) Return ¶
func (_c *Client_GetHardwareDetailsCPUCores_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUCores_Call
func (*Client_GetHardwareDetailsCPUCores_Call) Run ¶
func (_c *Client_GetHardwareDetailsCPUCores_Call) Run(run func()) *Client_GetHardwareDetailsCPUCores_Call
func (*Client_GetHardwareDetailsCPUCores_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsCPUCores_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUCores_Call
type Client_GetHardwareDetailsCPUFlags_Call ¶
Client_GetHardwareDetailsCPUFlags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsCPUFlags'
func (*Client_GetHardwareDetailsCPUFlags_Call) Return ¶
func (_c *Client_GetHardwareDetailsCPUFlags_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUFlags_Call
func (*Client_GetHardwareDetailsCPUFlags_Call) Run ¶
func (_c *Client_GetHardwareDetailsCPUFlags_Call) Run(run func()) *Client_GetHardwareDetailsCPUFlags_Call
func (*Client_GetHardwareDetailsCPUFlags_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsCPUFlags_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUFlags_Call
type Client_GetHardwareDetailsCPUModel_Call ¶
Client_GetHardwareDetailsCPUModel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsCPUModel'
func (*Client_GetHardwareDetailsCPUModel_Call) Return ¶
func (_c *Client_GetHardwareDetailsCPUModel_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUModel_Call
func (*Client_GetHardwareDetailsCPUModel_Call) Run ¶
func (_c *Client_GetHardwareDetailsCPUModel_Call) Run(run func()) *Client_GetHardwareDetailsCPUModel_Call
func (*Client_GetHardwareDetailsCPUModel_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsCPUModel_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUModel_Call
type Client_GetHardwareDetailsCPUThreads_Call ¶
Client_GetHardwareDetailsCPUThreads_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsCPUThreads'
func (*Client_GetHardwareDetailsCPUThreads_Call) Return ¶
func (_c *Client_GetHardwareDetailsCPUThreads_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsCPUThreads_Call
func (*Client_GetHardwareDetailsCPUThreads_Call) Run ¶
func (_c *Client_GetHardwareDetailsCPUThreads_Call) Run(run func()) *Client_GetHardwareDetailsCPUThreads_Call
func (*Client_GetHardwareDetailsCPUThreads_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsCPUThreads_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsCPUThreads_Call
type Client_GetHardwareDetailsDebug_Call ¶
Client_GetHardwareDetailsDebug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsDebug'
func (*Client_GetHardwareDetailsDebug_Call) Return ¶
func (_c *Client_GetHardwareDetailsDebug_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsDebug_Call
func (*Client_GetHardwareDetailsDebug_Call) Run ¶
func (_c *Client_GetHardwareDetailsDebug_Call) Run(run func()) *Client_GetHardwareDetailsDebug_Call
func (*Client_GetHardwareDetailsDebug_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsDebug_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsDebug_Call
type Client_GetHardwareDetailsNics_Call ¶
Client_GetHardwareDetailsNics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsNics'
func (*Client_GetHardwareDetailsNics_Call) Return ¶
func (_c *Client_GetHardwareDetailsNics_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsNics_Call
func (*Client_GetHardwareDetailsNics_Call) Run ¶
func (_c *Client_GetHardwareDetailsNics_Call) Run(run func()) *Client_GetHardwareDetailsNics_Call
func (*Client_GetHardwareDetailsNics_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsNics_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsNics_Call
type Client_GetHardwareDetailsRAM_Call ¶
Client_GetHardwareDetailsRAM_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsRAM'
func (*Client_GetHardwareDetailsRAM_Call) Return ¶
func (_c *Client_GetHardwareDetailsRAM_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsRAM_Call
func (*Client_GetHardwareDetailsRAM_Call) Run ¶
func (_c *Client_GetHardwareDetailsRAM_Call) Run(run func()) *Client_GetHardwareDetailsRAM_Call
func (*Client_GetHardwareDetailsRAM_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsRAM_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsRAM_Call
type Client_GetHardwareDetailsStorage_Call ¶
Client_GetHardwareDetailsStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHardwareDetailsStorage'
func (*Client_GetHardwareDetailsStorage_Call) Return ¶
func (_c *Client_GetHardwareDetailsStorage_Call) Return(_a0 sshclient.Output) *Client_GetHardwareDetailsStorage_Call
func (*Client_GetHardwareDetailsStorage_Call) Run ¶
func (_c *Client_GetHardwareDetailsStorage_Call) Run(run func()) *Client_GetHardwareDetailsStorage_Call
func (*Client_GetHardwareDetailsStorage_Call) RunAndReturn ¶
func (_c *Client_GetHardwareDetailsStorage_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHardwareDetailsStorage_Call
type Client_GetHostName_Call ¶
Client_GetHostName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHostName'
func (*Client_GetHostName_Call) Return ¶
func (_c *Client_GetHostName_Call) Return(_a0 sshclient.Output) *Client_GetHostName_Call
func (*Client_GetHostName_Call) Run ¶
func (_c *Client_GetHostName_Call) Run(run func()) *Client_GetHostName_Call
func (*Client_GetHostName_Call) RunAndReturn ¶
func (_c *Client_GetHostName_Call) RunAndReturn(run func() sshclient.Output) *Client_GetHostName_Call
type Client_GetRunningInstallImageProcesses_Call ¶
Client_GetRunningInstallImageProcesses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRunningInstallImageProcesses'
func (*Client_GetRunningInstallImageProcesses_Call) Return ¶
func (_c *Client_GetRunningInstallImageProcesses_Call) Return(_a0 sshclient.Output) *Client_GetRunningInstallImageProcesses_Call
func (*Client_GetRunningInstallImageProcesses_Call) Run ¶
func (_c *Client_GetRunningInstallImageProcesses_Call) Run(run func()) *Client_GetRunningInstallImageProcesses_Call
func (*Client_GetRunningInstallImageProcesses_Call) RunAndReturn ¶
func (_c *Client_GetRunningInstallImageProcesses_Call) RunAndReturn(run func() sshclient.Output) *Client_GetRunningInstallImageProcesses_Call
type Client_Reboot_Call ¶
Client_Reboot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reboot'
func (*Client_Reboot_Call) Return ¶
func (_c *Client_Reboot_Call) Return(_a0 sshclient.Output) *Client_Reboot_Call
func (*Client_Reboot_Call) Run ¶
func (_c *Client_Reboot_Call) Run(run func()) *Client_Reboot_Call
func (*Client_Reboot_Call) RunAndReturn ¶
func (_c *Client_Reboot_Call) RunAndReturn(run func() sshclient.Output) *Client_Reboot_Call
type Client_ResetKubeadm_Call ¶
Client_ResetKubeadm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetKubeadm'
func (*Client_ResetKubeadm_Call) Return ¶
func (_c *Client_ResetKubeadm_Call) Return(_a0 sshclient.Output) *Client_ResetKubeadm_Call
func (*Client_ResetKubeadm_Call) Run ¶
func (_c *Client_ResetKubeadm_Call) Run(run func()) *Client_ResetKubeadm_Call
func (*Client_ResetKubeadm_Call) RunAndReturn ¶
func (_c *Client_ResetKubeadm_Call) RunAndReturn(run func() sshclient.Output) *Client_ResetKubeadm_Call
type Client_UntarTGZ_Call ¶
Client_UntarTGZ_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntarTGZ'
func (*Client_UntarTGZ_Call) Return ¶
func (_c *Client_UntarTGZ_Call) Return(_a0 sshclient.Output) *Client_UntarTGZ_Call
func (*Client_UntarTGZ_Call) Run ¶
func (_c *Client_UntarTGZ_Call) Run(run func()) *Client_UntarTGZ_Call
func (*Client_UntarTGZ_Call) RunAndReturn ¶
func (_c *Client_UntarTGZ_Call) RunAndReturn(run func() sshclient.Output) *Client_UntarTGZ_Call
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
NewFactory creates a new instance of Factory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Factory) EXPECT ¶
func (_m *Factory) EXPECT() *Factory_Expecter
type Factory_Expecter ¶
type Factory_Expecter struct {
// contains filtered or unexported fields
}
func (*Factory_Expecter) NewClient ¶
func (_e *Factory_Expecter) NewClient(_a0 interface{}) *Factory_NewClient_Call
NewClient is a helper method to define mock.On call
- _a0 sshclient.Input
type Factory_NewClient_Call ¶
Factory_NewClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewClient'
func (*Factory_NewClient_Call) Return ¶
func (_c *Factory_NewClient_Call) Return(_a0 sshclient.Client) *Factory_NewClient_Call
func (*Factory_NewClient_Call) Run ¶
func (_c *Factory_NewClient_Call) Run(run func(_a0 sshclient.Input)) *Factory_NewClient_Call
func (*Factory_NewClient_Call) RunAndReturn ¶
func (_c *Factory_NewClient_Call) RunAndReturn(run func(sshclient.Input) sshclient.Client) *Factory_NewClient_Call