Documentation
¶
Index ¶
- type Pool
- func (p *Pool) Close()
- func (p *Pool) ExecCombinedOutput(host string, command string) ([]byte, error)
- func (p *Pool) ExecCombinedOutputString(host string, command string) (string, error)
- func (p *Pool) ExecOutput(host string, command string) ([]byte, error)
- func (p *Pool) ExecOutputString(host string, command string) (string, error)
- func (p *Pool) Get(host string) (*Session, error)
- func (p *Pool) Tunnel(host string, local, remote string) (*Tunnel, error)
- type PoolConfig
- type Session
- type Tunnel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *ssh.ClientConfig, poolconfig *PoolConfig) *Pool
func (*Pool) ExecCombinedOutput ¶
func (*Pool) ExecCombinedOutputString ¶
func (*Pool) ExecOutputString ¶
type PoolConfig ¶
type PoolConfig struct {
Debug bool
}
Click to show internal directories.
Click to hide internal directories.