Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenerFactory ¶
func DefaultListenerFactory ¶
func DefaultListenerFactory() ListenerFactory
type SecureClient ¶
type SecureDialer ¶
type SecureDialer interface {
Dial(network, address string, config *ssh.ClientConfig) (SecureClient, error)
}
func DefaultSecureDialer ¶
func DefaultSecureDialer() SecureDialer
type SecureSession ¶
type SecureSession interface {
RequestPty(term string, height, width int, termModes ssh.TerminalModes) error
SendRequest(name string, wantReply bool, payload []byte) (bool, error)
StdinPipe() (io.WriteCloser, error)
StdoutPipe() (io.Reader, error)
StderrPipe() (io.Reader, error)
Start(command string) error
Shell() error
Wait() error
Close() error
}
type SecureShell ¶
type SecureShell interface {
Connect(opts *options.SSHOptions) error
InteractiveSession() error
LocalPortForward() error
Wait() error
Close() error
}
func NewSecureShell ¶
func NewSecureShell( secureDialer SecureDialer, terminalHelper sshTerminal.TerminalHelper, listenerFactory ListenerFactory, keepAliveInterval time.Duration, app models.Application, sshEndpointFingerprint string, sshEndpoint string, token string, ) SecureShell
Directories
¶
| Path | Synopsis |
|---|---|
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
|
terminalhelperfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.