Versions in this module Expand all Collapse all v1 v1.2.4 Feb 13, 2019 Changes in this version + var Default = &Monitor — darwin/amd64, js/wasm, linux/amd64 + var ErrNoSuchProcess = errors.New("no such process") — darwin/amd64, js/wasm, linux/amd64 + func NewLocal(s *Service) shimapi.ShimService — darwin/amd64, js/wasm, linux/amd64 + func Reap() error — darwin/amd64, js/wasm, linux/amd64 + type Config struct — darwin/amd64, js/wasm, linux/amd64 + Criu string + Namespace string + Path string + RuntimeRoot string + SystemdCgroup bool + WorkDir string + type Monitor struct — darwin/amd64, js/wasm, linux/amd64 + func (m *Monitor) Start(c *exec.Cmd) (chan runc.Exit, error) + func (m *Monitor) Subscribe() chan runc.Exit + func (m *Monitor) Unsubscribe(c chan runc.Exit) + func (m *Monitor) Wait(c *exec.Cmd, ec chan runc.Exit) (int, error) + type Service struct — darwin/amd64, js/wasm, linux/amd64 + func NewService(config Config, publisher events.Publisher) (*Service, error) + func (s *Service) Checkpoint(ctx context.Context, r *shimapi.CheckpointTaskRequest) (*ptypes.Empty, error) + func (s *Service) CloseIO(ctx context.Context, r *shimapi.CloseIORequest) (*ptypes.Empty, error) + func (s *Service) Create(ctx context.Context, r *shimapi.CreateTaskRequest) (_ *shimapi.CreateTaskResponse, err error) + func (s *Service) Delete(ctx context.Context, r *ptypes.Empty) (*shimapi.DeleteResponse, error) + func (s *Service) DeleteProcess(ctx context.Context, r *shimapi.DeleteProcessRequest) (*shimapi.DeleteResponse, error) + func (s *Service) Exec(ctx context.Context, r *shimapi.ExecProcessRequest) (*ptypes.Empty, error) + func (s *Service) Kill(ctx context.Context, r *shimapi.KillRequest) (*ptypes.Empty, error) + func (s *Service) ListPids(ctx context.Context, r *shimapi.ListPidsRequest) (*shimapi.ListPidsResponse, error) + func (s *Service) Pause(ctx context.Context, r *ptypes.Empty) (*ptypes.Empty, error) + func (s *Service) ResizePty(ctx context.Context, r *shimapi.ResizePtyRequest) (*ptypes.Empty, error) + func (s *Service) Resume(ctx context.Context, r *ptypes.Empty) (*ptypes.Empty, error) + func (s *Service) ShimInfo(ctx context.Context, r *ptypes.Empty) (*shimapi.ShimInfoResponse, error) + func (s *Service) Start(ctx context.Context, r *shimapi.StartRequest) (*shimapi.StartResponse, error) + func (s *Service) State(ctx context.Context, r *shimapi.StateRequest) (*shimapi.StateResponse, error) + func (s *Service) Update(ctx context.Context, r *shimapi.UpdateTaskRequest) (*ptypes.Empty, error) + func (s *Service) Wait(ctx context.Context, r *shimapi.WaitRequest) (*shimapi.WaitResponse, error)