Documentation
¶
Overview ¶
Package ssh contains utilities for making and managing ssh connections.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSHOptsCmdline ¶
SSHOptsCmdline converts list of ssh options to a valid cmdline.
Types ¶
type ConcurrentSSHManager ¶
type ConcurrentSSHManager struct {
// contains filtered or unexported fields
}
func NewConcurrentSSHManager ¶
func NewConcurrentSSHManager(sshRunner *Runner, retryDelay time.Duration) *ConcurrentSSHManager
func (*ConcurrentSSHManager) LogExecutorStates ¶
func (m *ConcurrentSSHManager) LogExecutorStates()
func (*ConcurrentSSHManager) WaitUntilAllSSHCompleted ¶
func (m *ConcurrentSSHManager) WaitUntilAllSSHCompleted(ctx context.Context)
type TunnelRegistry ¶
type TunnelRegistry struct {
// contains filtered or unexported fields
}
TunnelRegistry records mappings of remote hostnames to local hostnames that represent tunnels from the local to remote hostnames.
func NewTunnelRegistry ¶
func NewTunnelRegistry() *TunnelRegistry
func (*TunnelRegistry) PrintToLog ¶
func (tr *TunnelRegistry) PrintToLog()
func (*TunnelRegistry) Set ¶
func (tr *TunnelRegistry) Set(remoteHostname, localHostname string)
func (*TunnelRegistry) String ¶
func (tr *TunnelRegistry) String() string
Click to show internal directories.
Click to hide internal directories.