ssh

package
v0.0.290-pre-1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSSHCommand added in v0.0.289

func RunSSHCommand(ctx context.Context, app *api.App, dialer agent.Dialer, cmd string) ([]byte, error)

func SSHConnect

func SSHConnect(p *SSHParams, addr string) error

Types

type SSHParams

type SSHParams struct {
	Ctx            context.Context
	Org            *api.Organization
	App            string
	Dialer         agent.Dialer
	Cmd            string
	Stdin          io.Reader
	Stdout         io.WriteCloser
	Stderr         io.WriteCloser
	DisableSpinner bool
}

Jump to

Keyboard shortcuts

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