MCPcopy Index your code
hub / github.com/containerd/containerd / Start

Method Start

core/runtime/v2/shim.go:705–713  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

703}
704
705func (s *shimTask) Start(ctx context.Context) error {
706 _, err := s.task.Start(ctx, &task.StartRequest{
707 ID: s.ID(),
708 })
709 if err != nil {
710 return errgrpc.ToNative(err)
711 }
712 return nil
713}
714
715func (s *shimTask) Kill(ctx context.Context, signal uint32, all bool) error {
716 if _, err := s.task.Kill(ctx, &task.KillRequest{

Callers 1

CreateMethod · 0.95

Calls 2

StartMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected