Documentation ¶
Index ¶
- type Client
- func (_m *Client) CheckCloudInitLogsForSigTerm() sshclient.Output
- func (_m *Client) CheckDisk(ctx context.Context, sliceOfWwns []string) (string, error)
- 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) CreatePostInstallScript(data 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) 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) GetInstallImageState() (sshclient.InstallImageState, error)
- func (_m *Client) GetResultOfInstallImage() (string, error)
- func (_m *Client) Reboot() sshclient.Output
- func (_m *Client) ResetKubeadm() sshclient.Output
- func (_m *Client) UntarTGZ() sshclient.Output
- func (_m *Client) WipeDisk(ctx context.Context, sliceOfWwns []string) (string, error)
- 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_CheckDisk_Call
- func (_c *Client_CheckDisk_Call) Return(info string, err error) *Client_CheckDisk_Call
- func (_c *Client_CheckDisk_Call) Run(run func(ctx context.Context, sliceOfWwns []string)) *Client_CheckDisk_Call
- func (_c *Client_CheckDisk_Call) RunAndReturn(run func(context.Context, []string) (string, error)) *Client_CheckDisk_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_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_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_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) CheckDisk(ctx interface{}, sliceOfWwns interface{}) *Client_CheckDisk_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) CreatePostInstallScript(data interface{}) *Client_CreatePostInstallScript_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) 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) GetInstallImageState() *Client_GetInstallImageState_Call
- func (_e *Client_Expecter) GetResultOfInstallImage() *Client_GetResultOfInstallImage_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
- func (_e *Client_Expecter) WipeDisk(ctx interface{}, sliceOfWwns interface{}) *Client_WipeDisk_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_GetInstallImageState_Call
- func (_c *Client_GetInstallImageState_Call) Return(_a0 sshclient.InstallImageState, _a1 error) *Client_GetInstallImageState_Call
- func (_c *Client_GetInstallImageState_Call) Run(run func()) *Client_GetInstallImageState_Call
- func (_c *Client_GetInstallImageState_Call) RunAndReturn(run func() (sshclient.InstallImageState, error)) *Client_GetInstallImageState_Call
- type Client_GetResultOfInstallImage_Call
- func (_c *Client_GetResultOfInstallImage_Call) Return(_a0 string, _a1 error) *Client_GetResultOfInstallImage_Call
- func (_c *Client_GetResultOfInstallImage_Call) Run(run func()) *Client_GetResultOfInstallImage_Call
- func (_c *Client_GetResultOfInstallImage_Call) RunAndReturn(run func() (string, error)) *Client_GetResultOfInstallImage_Call
- type Client_Reboot_Call
- type Client_ResetKubeadm_Call
- type Client_UntarTGZ_Call
- type Client_WipeDisk_Call
- func (_c *Client_WipeDisk_Call) Return(_a0 string, _a1 error) *Client_WipeDisk_Call
- func (_c *Client_WipeDisk_Call) Run(run func(ctx context.Context, sliceOfWwns []string)) *Client_WipeDisk_Call
- func (_c *Client_WipeDisk_Call) RunAndReturn(run func(context.Context, []string) (string, error)) *Client_WipeDisk_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) CreatePostInstallScript ¶
CreatePostInstallScript provides a mock function with given fields: data
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) 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) GetInstallImageState ¶
func (_m *Client) GetInstallImageState() (sshclient.InstallImageState, error)
GetInstallImageState provides a mock function with given fields:
func (*Client) GetResultOfInstallImage ¶
GetResultOfInstallImage 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_CheckDisk_Call ¶
Client_CheckDisk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckDisk'
func (*Client_CheckDisk_Call) Return ¶
func (_c *Client_CheckDisk_Call) Return(info string, err error) *Client_CheckDisk_Call
func (*Client_CheckDisk_Call) Run ¶
func (_c *Client_CheckDisk_Call) Run(run func(ctx context.Context, sliceOfWwns []string)) *Client_CheckDisk_Call
func (*Client_CheckDisk_Call) RunAndReturn ¶
func (_c *Client_CheckDisk_Call) RunAndReturn(run func(context.Context, []string) (string, error)) *Client_CheckDisk_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_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_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_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) CheckDisk ¶
func (_e *Client_Expecter) CheckDisk(ctx interface{}, sliceOfWwns interface{}) *Client_CheckDisk_Call
CheckDisk is a helper method to define mock.On call
- ctx context.Context
- sliceOfWwns []string
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) 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) 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) 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) GetInstallImageState ¶
func (_e *Client_Expecter) GetInstallImageState() *Client_GetInstallImageState_Call
GetInstallImageState is a helper method to define mock.On call
func (*Client_Expecter) GetResultOfInstallImage ¶
func (_e *Client_Expecter) GetResultOfInstallImage() *Client_GetResultOfInstallImage_Call
GetResultOfInstallImage 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
func (*Client_Expecter) WipeDisk ¶
func (_e *Client_Expecter) WipeDisk(ctx interface{}, sliceOfWwns interface{}) *Client_WipeDisk_Call
WipeDisk is a helper method to define mock.On call
- ctx context.Context
- sliceOfWwns []string
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_GetInstallImageState_Call ¶
Client_GetInstallImageState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstallImageState'
func (*Client_GetInstallImageState_Call) Return ¶
func (_c *Client_GetInstallImageState_Call) Return(_a0 sshclient.InstallImageState, _a1 error) *Client_GetInstallImageState_Call
func (*Client_GetInstallImageState_Call) Run ¶
func (_c *Client_GetInstallImageState_Call) Run(run func()) *Client_GetInstallImageState_Call
func (*Client_GetInstallImageState_Call) RunAndReturn ¶
func (_c *Client_GetInstallImageState_Call) RunAndReturn(run func() (sshclient.InstallImageState, error)) *Client_GetInstallImageState_Call
type Client_GetResultOfInstallImage_Call ¶
Client_GetResultOfInstallImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResultOfInstallImage'
func (*Client_GetResultOfInstallImage_Call) Return ¶
func (_c *Client_GetResultOfInstallImage_Call) Return(_a0 string, _a1 error) *Client_GetResultOfInstallImage_Call
func (*Client_GetResultOfInstallImage_Call) Run ¶
func (_c *Client_GetResultOfInstallImage_Call) Run(run func()) *Client_GetResultOfInstallImage_Call
func (*Client_GetResultOfInstallImage_Call) RunAndReturn ¶
func (_c *Client_GetResultOfInstallImage_Call) RunAndReturn(run func() (string, error)) *Client_GetResultOfInstallImage_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 Client_WipeDisk_Call ¶
Client_WipeDisk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WipeDisk'
func (*Client_WipeDisk_Call) Return ¶
func (_c *Client_WipeDisk_Call) Return(_a0 string, _a1 error) *Client_WipeDisk_Call
func (*Client_WipeDisk_Call) Run ¶
func (_c *Client_WipeDisk_Call) Run(run func(ctx context.Context, sliceOfWwns []string)) *Client_WipeDisk_Call
func (*Client_WipeDisk_Call) RunAndReturn ¶
func (_c *Client_WipeDisk_Call) RunAndReturn(run func(context.Context, []string) (string, error)) *Client_WipeDisk_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