remote

package
v0.0.0-...-88e50d4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCmdOnHost

func ExecCmdOnHost(remoteHostname, remoteHostUsername, remoteHostPass, cmd string) (string, error)

ExecCmdOnHost executes specific cmd on remote host.

func ExecuteOnNodeWithDebugPod

func ExecuteOnNodeWithDebugPod(cmdToExec []string, nodeName string) (string, error)

ExecuteOnNodeWithDebugPod executes a command on a node.

func ExecuteOnNodeWithPrivilegedDebugPod

func ExecuteOnNodeWithPrivilegedDebugPod(apiClient *clients.Settings,
	nodeName, imageName 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.

func ScpFileTo

func ScpFileTo(source, destination, remoteHostname, remoteHostUsername, remoteHostPass string) error

ScpFileTo transfers specific file using scp method to remote host.

Types

This section is empty.

Jump to

Keyboard shortcuts

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