Documentation ¶
Index ¶
- func SSH(function func(Connection) error) error
- func SSHExecuteGoEnum(ssh Connection) error
- func SSHTmpfsExecuteGoEnum(ssh Connection) error
- type Connection
- func (c *Connection) Scp(source string, destination string) error
- func (c *Connection) Shell(command string) (string, string, error)
- func (c *Connection) ShellOutput(command string) error
- func (c *Connection) TemporaryFileCopy(source string, destination string, function func(string, string) error, ...) error
- func (c *Connection) Tmpfs(function func(string) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSH ¶
func SSH(function func(Connection) error) error
func SSHExecuteGoEnum ¶
func SSHExecuteGoEnum(ssh Connection) error
func SSHTmpfsExecuteGoEnum ¶
func SSHTmpfsExecuteGoEnum(ssh Connection) error
Types ¶
type Connection ¶
type Connection struct { Client *ssh.Client Mode *ssh.TerminalModes }
func (*Connection) ShellOutput ¶
func (c *Connection) ShellOutput(command string) error
func (*Connection) TemporaryFileCopy ¶
Click to show internal directories.
Click to hide internal directories.