Documentation ¶
Index ¶
- func ExecCmdOnHost(remoteHostname, remoteHostUsername, remoteHostPass, cmd string) (string, error)
- func ExecuteOnNodeWithDebugPod(cmdToExec []string, nodeName string) (string, error)
- func ExecuteOnNodeWithPrivilegedDebugPod(apiClient *clients.Settings, nodeName string, cmd []string) (string, error)
- func ScpDirectoryFrom(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
- func ScpDirectoryTo(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
- func ScpFileFrom(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
- func ScpFileTo(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCmdOnHost ¶
ExecCmdOnHost executes specific cmd on remote host.
func ExecuteOnNodeWithDebugPod ¶
ExecuteOnNodeWithDebugPod executes a command on a node.
func ExecuteOnNodeWithPrivilegedDebugPod ¶
func ExecuteOnNodeWithPrivilegedDebugPod(apiClient *clients.Settings, nodeName string, cmd []string) (string, error)
ExecuteOnNodeWithPrivilegedDebugPod executes command on the specific node using privileged debug pod.
func ScpDirectoryFrom ¶
func ScpDirectoryFrom(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
ScpDirectoryFrom transfers specific directory using scp method from destination.
func ScpDirectoryTo ¶
func ScpDirectoryTo(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
ScpDirectoryTo transfers specific directory using scp method to destination.
func ScpFileFrom ¶
func ScpFileFrom(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error
ScpFileFrom transfers specific file using scp method from remote host.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.