Versions in this module Expand all Collapse all v1 v1.3.4 Apr 16, 2020 v1.0.0 May 17, 2020 Changes in this version + func GetTopic(e interface{}) string — linux/amd64 + func NewPlatform() (stdio.Platform, error) — linux/amd64 + func ReadRuntime(path string) (string, error) — linux/amd64 + func ShouldKillAllOnExit(ctx context.Context, bundlePath string) bool — linux/amd64 + func WriteRuntime(path, runtime string) error — linux/amd64 + type Container struct — linux/amd64 + Bundle string + ID string + func NewContainer(ctx context.Context, platform stdio.Platform, r *task.CreateTaskRequest) (*Container, error) + func (c *Container) All() (o []process.Process) + func (c *Container) Cgroup() interface{} + func (c *Container) CgroupSet(cg interface{}) + func (c *Container) Checkpoint(ctx context.Context, r *task.CheckpointTaskRequest) error + func (c *Container) CloseIO(ctx context.Context, r *task.CloseIORequest) error + func (c *Container) Delete(ctx context.Context, r *task.DeleteRequest) (process.Process, error) + func (c *Container) Exec(ctx context.Context, r *task.ExecProcessRequest) (process.Process, error) + func (c *Container) ExecdProcesses() (o []process.Process) + func (c *Container) HasPid(pid int) bool + func (c *Container) Kill(ctx context.Context, r *task.KillRequest) error + func (c *Container) Pause(ctx context.Context) error + func (c *Container) Pid() int + func (c *Container) Process(id string) (process.Process, error) + func (c *Container) ProcessAdd(process process.Process) + func (c *Container) ProcessRemove(id string) + func (c *Container) ReserveProcess(id string) (bool, func()) + func (c *Container) ResizePty(ctx context.Context, r *task.ResizePtyRequest) error + func (c *Container) Resume(ctx context.Context) error + func (c *Container) Start(ctx context.Context, r *task.StartRequest) (process.Process, error) + func (c *Container) Update(ctx context.Context, r *task.UpdateTaskRequest) error