Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SshConnection ¶
type SshConnection struct { Config *ssh.ClientConfig Client *ssh.Client Bastion_config *ssh.ClientConfig Bastion *ssh.Client Stdout *output.StdoutManager Stderr *output.StderrManager }
func NewSshConnection ¶
func NewSshConnection(host string, args *cliargs.Arguments, stdout *output.StdoutManager, stderr *output.StderrManager) (*SshConnection, error)
func (*SshConnection) Close ¶
func (me *SshConnection) Close()
func (*SshConnection) SudoWhoAmI ¶
func (me *SshConnection) SudoWhoAmI(args *cliargs.Arguments) (string, error)
func (*SshConnection) WhoAmI ¶
func (me *SshConnection) WhoAmI() (string, error)
Click to show internal directories.
Click to hide internal directories.