ssh

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(conn *v1alpha1.Connection, options ...common.Option) (common.Client, error)

NewClient creates a new client from a connection.

Types

type Client

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

Client manages an appliance using SSH.

func (*Client) Connect

func (c *Client) Connect() error

Connect connects to the host.

func (*Client) Disconnect

func (c *Client) Disconnect() error

Disconnect disconnects from the host.

func (*Client) OS added in v0.2.1

func (c *Client) OS() *v1alpha1.OSInfo

OS returns information about the operating system the host.

Jump to

Keyboard shortcuts

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