docker

package
v0.0.0-...-fd2add7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2016 License: Apache-2.0 Imports: 11 Imported by: 6

Documentation

Index

Constants

View Source
const StdBufferLen = 32e3

Variables

This section is empty.

Functions

func Init

func Init() (_ string, err error)

Types

type Container

type Container interface {
	Scrub()
	IsDone() bool
	Peek() (*ds.Stat, error)
	Signal(sig string) error
	Wait() (*ds.Stat, error)
	Stdin() io.WriteCloser
	Stdout() io.ReadCloser
	Stderr() io.ReadCloser
	X() circuit.X
}

func MakeContainer

func MakeContainer(run ds.Run) (_ Container, err error)

type XContainer

type XContainer struct {
	Container
}

func (XContainer) Peek

func (x XContainer) Peek() (*ds.Stat, error)

func (XContainer) Signal

func (x XContainer) Signal(sig string) error

func (XContainer) Stderr

func (x XContainer) Stderr() circuit.X

func (XContainer) Stdin

func (x XContainer) Stdin() circuit.X

func (XContainer) Stdout

func (x XContainer) Stdout() circuit.X

func (XContainer) Wait

func (x XContainer) Wait() (*ds.Stat, error)

type YContainer

type YContainer struct {
	X circuit.X
}

func (YContainer) IsDone

func (y YContainer) IsDone() bool

func (YContainer) Peek

func (y YContainer) Peek() (stat *ds.Stat, err error)

func (YContainer) Scrub

func (y YContainer) Scrub()

func (YContainer) Signal

func (y YContainer) Signal(sig string) error

func (YContainer) Stderr

func (y YContainer) Stderr() io.ReadCloser

func (YContainer) Stdin

func (y YContainer) Stdin() io.WriteCloser

func (YContainer) Stdout

func (y YContainer) Stdout() io.ReadCloser

func (YContainer) Wait

func (y YContainer) Wait() (stat *ds.Stat, err error)

Jump to

Keyboard shortcuts

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