ssh

package module
v0.0.0-...-6f76032 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutorResolverBinary

func ExecutorResolverBinary(ctx context.Context, opts *options.Create) options.ResolveExecutor

func ExecutorResolverLibrary

func ExecutorResolverLibrary(ctx context.Context, opts *options.Create) options.ResolveExecutor

func NewSSH

func NewSSH(ctx context.Context, client *cryptossh.Client, session *cryptossh.Session, args []string) executor.Executor

NewSSH returns an Executor that creates processes over SSH. Callers are expected to clean up resources by explicitly calling Close.

func NewSSHBinary

func NewSSHBinary(ctx context.Context, destination string, opts []string, args []string) executor.Executor

NewSSHBinary returns an Executor that creates processes using the SSH binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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