sshtest

package
v0.15.0-rancher16 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 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

Jump to

Keyboard shortcuts

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