Versions in this module Expand all Collapse all v0 v0.4.2 Apr 28, 2016 Changes in this version + var ErrSkip = errors.New("Skip") + var ErrTerm = errors.New("Terminate") + var NoContext = context.TODO() + type Auth struct + Email string + Password string + Token string + Username string + type Config struct + Buffer uint + Engine Engine + Tracer Tracer + func (c *Config) Runner(ctx context.Context, spec *Spec) *Runner + type Container struct + Alias string + AuthConfig Auth + CPUQuota int64 + CPUSet string + CPUShares int64 + Command []string + DNS []string + DNSSearch []string + Devices []string + Entrypoint []string + Environment map[string]string + ExtraHosts []string + Image string + MemLimit int64 + MemSwapLimit int64 + Name string + Network string + OomKillDisable bool + Privileged bool + Pull bool + Volumes []string + VolumesFrom []string + WorkingDir string + func (c *Container) Validate() error + type Engine interface + ContainerLogs func(string) (io.ReadCloser, error) + ContainerRemove func(string) error + ContainerStart func(*Container) (string, error) + ContainerStop func(string) error + ContainerWait func(string) (*State, error) + type ExitError struct + Code int + Name string + func (e *ExitError) Error() string + type Line struct + Out string + Pos int + Proc string + Time int64 + Type int + func (l *Line) String() string + type Network struct + Alias string + Driver string + DriverOpts map[string]string + External bool + Name string + type OomError struct + Name string + func (e *OomError) Error() string + type Pipe struct + func (p *Pipe) Close() + func (p *Pipe) Next() *Line + type Runner struct + func (r *Runner) Pipe() *Pipe + func (r *Runner) Run() + func (r *Runner) Wait() error + type Spec struct + Containers []*Container + Networks []*Network + Nodes *parse.Tree + Volumes []*Volume + func Parse(data []byte) (*Spec, error) + func ParseFile(filename string) (*Spec, error) + type State struct + ExitCode int + OOMKilled bool + type Tracer func(c *Container) error + type Volume struct + Alias string + Driver string + DriverOpts map[string]string + External bool + Name string