host

package
v0.0.0-...-09418d1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Addr string

	// TODO: separate out to HostConnection
	Connection *ssh.Client
	// contains filtered or unexported fields
}

func NewHost

func NewHost(connectionStr string, privateKeyPath string) (*Host, error)

func (*Host) Close

func (h *Host) Close() error

func (*Host) Connect

func (h *Host) Connect() (*ssh.Client, error)

Jump to

Keyboard shortcuts

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