Documentation ¶
Index ¶
- func RemoteCommand(client *ssh.Client, cmd string, commandOutput io.Writer) error
- func SSHClient(sshKey []byte, addr string) (*ssh.Client, error)
- func SSHInteractiveKubesPod(podName string) error
- func SSHInteractiveTerminal(sshKey []byte, addr string) error
- func UploadBytes(client *ssh.Client, source []byte, destination string, commandOutput io.Writer) error
- func UploadFile(client *ssh.Client, source, destination string, commandOutput io.Writer) error
- func UploadReader(client *ssh.Client, source io.Reader, destination string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteCommand ¶
func SSHInteractiveKubesPod ¶
SSHInteractiveKubesPod will create an interactive shell for the given pod.
func SSHInteractiveTerminal ¶
func UploadBytes ¶
func UploadFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.