cmdproxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalProxyClient

type LocalProxyClient struct {
	Stdin  io.WriteCloser
	Stdout io.ReadCloser
	Stderr io.ReadCloser
	// contains filtered or unexported fields
}

func NewLocalProxyClient

func NewLocalProxyClient() (dockerClient *LocalProxyClient, err error)

func (*LocalProxyClient) Close

func (client *LocalProxyClient) Close() (err error)

func (*LocalProxyClient) Run

func (client *LocalProxyClient) Run(name string, args ...string) error

func (*LocalProxyClient) Start

func (client *LocalProxyClient) Start(name string, args ...string) error

func (*LocalProxyClient) StderrPipe

func (client *LocalProxyClient) StderrPipe() (r io.Reader)

func (*LocalProxyClient) StdinPipe

func (client *LocalProxyClient) StdinPipe() (w io.WriteCloser)

func (*LocalProxyClient) StdoutPipe

func (client *LocalProxyClient) StdoutPipe() (r io.Reader)

func (*LocalProxyClient) Wait

func (client *LocalProxyClient) Wait() error

type ProxyClient

type ProxyClient interface {
	Start(name string, args ...string) error
	Wait() error
	Run(name string, args ...string) error
	StdinPipe() io.WriteCloser
	StderrPipe() io.Reader
	StdoutPipe() io.Reader
	Close() error
}

type SSHProxyClient

type SSHProxyClient struct {
	Stdin  io.WriteCloser
	Stdout io.Reader
	Stderr io.Reader
	// contains filtered or unexported fields
}

func NewSSHProxyClient

func NewSSHProxyClient(server common.Server) (dockerClient *SSHProxyClient, err error)

func (*SSHProxyClient) Close

func (client *SSHProxyClient) Close() (err error)

func (*SSHProxyClient) Run

func (client *SSHProxyClient) Run(name string, args ...string) error

func (*SSHProxyClient) Start

func (client *SSHProxyClient) Start(name string, args ...string) error

func (*SSHProxyClient) StderrPipe

func (client *SSHProxyClient) StderrPipe() (r io.Reader)

func (*SSHProxyClient) StdinPipe

func (client *SSHProxyClient) StdinPipe() (w io.WriteCloser)

func (*SSHProxyClient) StdoutPipe

func (client *SSHProxyClient) StdoutPipe() io.Reader

func (*SSHProxyClient) Wait

func (client *SSHProxyClient) Wait() error

Jump to

Keyboard shortcuts

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