ssh

package module
v0.0.0-...-1fd8c42 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, args ...object.Object) object.Object

Connect establishes an SSH connection with consolidated authentication methods

func Module

func Module() *object.Module

Module returns the SSH module

Types

type Client

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

Client represents an SSH client connection and implements object.Object

func (*Client) Cost

func (c *Client) Cost() int

func (*Client) Equals

func (c *Client) Equals(other object.Object) object.Object

func (*Client) GetAttr

func (c *Client) GetAttr(name string) (object.Object, bool)

func (*Client) Inspect

func (c *Client) Inspect() string

func (*Client) Interface

func (c *Client) Interface() interface{}

func (*Client) IsTruthy

func (c *Client) IsTruthy() bool

func (*Client) RunOperation

func (c *Client) RunOperation(opType op.BinaryOpType, right object.Object) object.Object

func (*Client) SetAttr

func (c *Client) SetAttr(name string, value object.Object) error

func (*Client) String

func (c *Client) String() string

func (*Client) Type

func (c *Client) Type() object.Type

Jump to

Keyboard shortcuts

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