sshtest

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdResult

type CmdResult struct {
	Out string
	Err error
}

type FakeClient

type FakeClient struct {
	ActivatedShell []string
	Outputs        map[string]CmdResult
}

func (*FakeClient) Output

func (fsc *FakeClient) Output(command string) (string, error)

func (*FakeClient) Shell

func (fsc *FakeClient) Shell(args ...string) error

func (*FakeClient) Start added in v0.7.0

func (fsc *FakeClient) Start(command string) (io.ReadCloser, io.ReadCloser, error)

func (*FakeClient) Wait added in v0.7.0

func (fsc *FakeClient) Wait() error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL