ssh_pool

package
v2.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PooledSession

type PooledSession struct {
	Session *ssh.Session
	// contains filtered or unexported fields
}

func (*PooledSession) Close

func (ps *PooledSession) Close() error

type SshPool

type SshPool struct {
	// contains filtered or unexported fields
}

func (*SshPool) GetSession

func (p *SshPool) GetSession(ctx context.Context, host string, port int, auth auth.AuthMethodAndCA) (*PooledSession, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL