ssh

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ssh

type Ssh interface {
	Init(context.Context, *proto.SshConfig) error
	Deinit(context.Context) error
	Run(context.Context, []string) (string, error)
}

func New

func New(_ context.Context, cfg *SshConfig) Ssh

type SshConfig

type SshConfig struct {
	Config config.Config
	Logger hclog.Logger
}

func DefaultConfig

func DefaultConfig() *SshConfig

Jump to

Keyboard shortcuts

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