Versions in this module Expand all Collapse all v0 v0.6.0 May 25, 2016 Changes in this version + const EventContainerStart + const EventExit + const EventProcessStart + func GetBridgeFromIndex(idx int) (string, error) + type Container struct + BundlePath string + Id string + Processes map[string]*Process + Spec *specs.Spec + type Event struct + ID string + PID string + Status int + Timestamp time.Time + Type string + type HyperPod struct + Containers map[string]*Container + Processes map[string]*Process + type InterfaceInfo struct + Index int + Ip string + PeerIndex int + type Process struct + Id string + ProcId int + Spec *specs.Process + Stderr string + Stdin string + Stdout string + type Supervisor struct + Containers map[string]*Container + Events SvEvents + Factory factory.Factory + StateDir string + func New(stateDir, eventLogDir string, f factory.Factory) (*Supervisor, error) + func (sv *Supervisor) AddProcess(container, processId, stdin, stdout, stderr string, spec *specs.Process) (*Process, error) + func (sv *Supervisor) CloseStdin(container, processId string) error + func (sv *Supervisor) CreateContainer(container, bundlePath, stdin, stdout, stderr string, spec *specs.Spec) (*Container, *Process, error) + func (sv *Supervisor) Signal(container, processId string, sig int) error + func (sv *Supervisor) TtyResize(container, processId string, width, height int) error + type SvEvents struct + func (se *SvEvents) Events(from time.Time) chan Event + func (se *SvEvents) Unsubscribe(sub chan Event)