Documentation ¶
Index ¶
- type ConcreteWindowResizer
- type SSH
- func (*SSH) GenerateAddress() (host string, port string, err error)
- func (s *SSH) GenerateKeypair() ([]byte, []byte, error)
- func (s *SSH) GetSSHOutput(command string, addresses []SSHAddress, privateKey []byte, ...) (string, error)
- func (s *SSH) RunSSHCommand(command string, addresses []SSHAddress, privateKey []byte, ...) (err error)
- func (s *SSH) StartSSHSession(addresses []SSHAddress, privateKey []byte, timeout time.Duration, ...) error
- func (s *SSH) WaitForSSH(addresses []SSHAddress, privateKey []byte, timeout time.Duration) error
- func (s *SSH) WithSSHTunnel(remoteAddress string, sshAddresses []SSHAddress, privateKey []byte, ...) error
- type SSHAddress
- type Terminal
- type TerminalWrapper
- type WindowResizer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcreteWindowResizer ¶
type ConcreteWindowResizer struct {
DoneChannel chan bool
}
func (*ConcreteWindowResizer) StartResizing ¶
func (w *ConcreteWindowResizer) StartResizing(session *ssh.Session)
func (*ConcreteWindowResizer) StopResizing ¶
func (w *ConcreteWindowResizer) StopResizing()
type SSH ¶
type SSH struct { Terminal Terminal WindowResizer WindowResizer }
func (*SSH) GetSSHOutput ¶
func (*SSH) RunSSHCommand ¶
func (*SSH) StartSSHSession ¶
func (*SSH) WaitForSSH ¶
func (*SSH) WithSSHTunnel ¶
type SSHAddress ¶
type TerminalWrapper ¶
type TerminalWrapper struct{}
func (*TerminalWrapper) GetFdInfo ¶
func (*TerminalWrapper) GetFdInfo(in interface{}) uintptr
func (*TerminalWrapper) GetWinSize ¶
func (*TerminalWrapper) GetWinSize(fd uintptr) (*term.Winsize, error)
func (*TerminalWrapper) RestoreTerminal ¶
func (*TerminalWrapper) RestoreTerminal(fd uintptr, state *term.State) error
func (*TerminalWrapper) SetRawTerminal ¶
func (*TerminalWrapper) SetRawTerminal(fd uintptr) (*term.State, error)
type WindowResizer ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.