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 New(ic *plugin.InitContext) (interface{}, error) — linux/amd64 + type Config struct — linux/amd64 + NoShim bool + Runtime string + RuntimeRoot string + Shim string + ShimDebug bool + type Process struct — linux/amd64 + func (p *Process) CloseIO(ctx context.Context) error + func (p *Process) Delete(ctx context.Context) (*runtime.Exit, error) + func (p *Process) ID() string + func (p *Process) Kill(ctx context.Context, signal uint32, _ bool) error + func (p *Process) ResizePty(ctx context.Context, size runtime.ConsoleSize) error + func (p *Process) Start(ctx context.Context) error + func (p *Process) State(ctx context.Context) (runtime.State, error) + func (p *Process) Wait(ctx context.Context) (*runtime.Exit, error) + type Runtime struct — linux/amd64 + func (r *Runtime) Add(ctx context.Context, task runtime.Task) error + func (r *Runtime) Create(ctx context.Context, id string, opts runtime.CreateOpts) (_ runtime.Task, err error) + func (r *Runtime) Delete(ctx context.Context, id string) + func (r *Runtime) Get(ctx context.Context, id string) (runtime.Task, error) + func (r *Runtime) ID() string + func (r *Runtime) Tasks(ctx context.Context, all bool) ([]runtime.Task, error) + type ShimOpt func(*bundle, string, *runctypes.RuncOptions) (shim.Config, client.Opt) — linux/amd64 + func ShimConnect(c *Config, onClose func()) ShimOpt + func ShimLocal(c *Config, exchange *exchange.Exchange) ShimOpt + func ShimRemote(c *Config, daemonAddress, cgroup string, exitHandler func()) ShimOpt + type Task struct — linux/amd64 + func (t *Task) Cgroup() (cgroups.Cgroup, error) + func (t *Task) Checkpoint(ctx context.Context, path string, options *types.Any) error + func (t *Task) CloseIO(ctx context.Context) error + func (t *Task) Delete(ctx context.Context) (*runtime.Exit, error) + func (t *Task) Exec(ctx context.Context, id string, opts runtime.ExecOpts) (runtime.Process, error) + func (t *Task) ID() string + func (t *Task) Kill(ctx context.Context, signal uint32, all bool) error + func (t *Task) Namespace() string + func (t *Task) PID() uint32 + func (t *Task) Pause(ctx context.Context) error + func (t *Task) Pids(ctx context.Context) ([]runtime.ProcessInfo, error) + func (t *Task) Process(ctx context.Context, id string) (runtime.Process, error) + func (t *Task) ResizePty(ctx context.Context, size runtime.ConsoleSize) error + func (t *Task) Resume(ctx context.Context) error + func (t *Task) Start(ctx context.Context) error + func (t *Task) State(ctx context.Context) (runtime.State, error) + func (t *Task) Stats(ctx context.Context) (*types.Any, error) + func (t *Task) Update(ctx context.Context, resources *types.Any) error + func (t *Task) Wait(ctx context.Context) (*runtime.Exit, error)