Versions in this module Expand all Collapse all v0 v0.1.0 Sep 28, 2015 Changes in this version + type Executor interface + Command func() *cmd + ConfigureTaskDir func(taskName string, alloc *allocdir.AllocDir) error + ForceStop func() error + ID func() (string, error) + Limit func(*structs.Resources) error + Open func(string) error + Shutdown func() error + Start func() error + Wait func() error + func Command(name string, arg ...string) Executor + func NewExecutor() Executor + func OpenId(id string) (Executor, error) + type LinuxExecutor struct — linux/amd64 + func (c *LinuxExecutor) SetGID(groupid string) error + func (c *LinuxExecutor) SetUID(userid string) error + func (e *LinuxExecutor) Command() *cmd + func (e *LinuxExecutor) ConfigureTaskDir(taskName string, alloc *allocdir.AllocDir) error + func (e *LinuxExecutor) ForceStop() error + func (e *LinuxExecutor) ID() (string, error) + func (e *LinuxExecutor) Limit(resources *structs.Resources) error + func (e *LinuxExecutor) Open(id string) error + func (e *LinuxExecutor) Shutdown() error + func (e *LinuxExecutor) Start() error + func (e *LinuxExecutor) Wait() error + type UniversalExecutor struct — darwin/amd64, js/wasm, windows/amd64 + func (c *UniversalExecutor) SetGID(groupid string) error + func (c *UniversalExecutor) SetUID(userid string) error + func (e *UniversalExecutor) Command() *cmd + func (e *UniversalExecutor) ConfigureTaskDir(taskName string, alloc *allocdir.AllocDir) error + func (e *UniversalExecutor) ForceStop() error + func (e *UniversalExecutor) ID() (string, error) + func (e *UniversalExecutor) Limit(resources *structs.Resources) error + func (e *UniversalExecutor) Open(pid string) error + func (e *UniversalExecutor) Shutdown() error + func (e *UniversalExecutor) Start() error + func (e *UniversalExecutor) Wait() error