remote

package
v0.0.0-...-2e63b6b Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandExecutor

func NewCommandExecutor(
	user model.RemoteUser,
	addr model.RemoteHost,
	port model.RemotePort,
	privateKey model.PrivateKey,
) *remoteExecutor

Types

type CommandExecutor

type CommandExecutor interface {
	ExecuteCommand(ctx context.Context, cmd string) (string, error)
}

Jump to

Keyboard shortcuts

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