Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClosingConnCopier ¶ added in v0.0.3
type ClosingConnCopier struct{}
func (ClosingConnCopier) CopyAndClose ¶ added in v0.0.3
func (c ClosingConnCopier) CopyAndClose(dstConn net.Conn, srcConn net.Conn)
type ConnectionBrokenErr ¶ added in v0.0.4
type ConnectionBrokenErr struct {
// contains filtered or unexported fields
}
ConnectionBrokenErr indicates that Factory needs to be recreated
type Local ¶ added in v0.0.4
type Local struct {
// contains filtered or unexported fields
}
func (Local) NewConnCopier ¶ added in v0.0.4
func (l Local) NewConnCopier(logTag string) ConnCopier
type SSHClient ¶
type SSHClient struct {
// contains filtered or unexported fields
}
func NewSSHClient ¶
func NewSSHClient(connOpts SSHClientConnOpts, logger Logger) *SSHClient
func (*SSHClient) Disconnect ¶
func (*SSHClient) NewConnCopier ¶
func (c *SSHClient) NewConnCopier(proxyDesc string) ConnCopier
type SSHClientConnOpts ¶
type SSHConnCopier ¶
type SSHConnCopier struct {
// contains filtered or unexported fields
}
func NewSSHConnCopier ¶
func NewSSHConnCopier(logTagSuffix string, logger Logger) SSHConnCopier
func (SSHConnCopier) CopyAndClose ¶
func (c SSHConnCopier) CopyAndClose(dstConn, srcConn net.Conn)
type SSHKeyGenerator ¶
type SSHKeyGenerator struct{}
func NewSSHKeyGenerator ¶
func NewSSHKeyGenerator() SSHKeyGenerator
func (SSHKeyGenerator) Generate ¶
func (g SSHKeyGenerator) Generate() (SSHKey, error)
Click to show internal directories.
Click to hide internal directories.