ssh_pool

package
v2.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

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