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) DownloadImage(path string, url string) sshclient.Output
- func (_m *Client) EnsureCloudInit() sshclient.Output
- func (_m *Client) ExecuteInstallImage(hasPostInstallScript bool) 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) GetHardwareDetailsNics() sshclient.Output
- func (_m *Client) GetHardwareDetailsRAM() sshclient.Output
- func (_m *Client) GetHardwareDetailsStorage() sshclient.Output
- func (_m *Client) GetHostName() sshclient.Output
- func (_m *Client) Reboot() sshclient.Output
- func (_m *Client) ResetKubeadm() sshclient.Output
- type Factory
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 ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
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.
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) DownloadImage ¶
DownloadImage provides a mock function with given fields: path, url
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) 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) 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) ResetKubeadm ¶
ResetKubeadm provides a mock function with given fields:
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
func NewFactory(t mockConstructorTestingTNewFactory) *Factory
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.