sshtest

package
v0.11.0-gitlab.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 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

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

func (*FakeClient) Wait

func (fsc *FakeClient) Wait() error

Jump to

Keyboard shortcuts

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