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

Method Start

core/runtime/v2/process.go:122–131  ·  view source on GitHub ↗

Start the process

(ctx context.Context)

Source from the content-addressed store, hash-verified

120
121// Start the process
122func (p *process) Start(ctx context.Context) error {
123 _, err := p.shim.task.Start(ctx, &task.StartRequest{
124 ID: p.shim.ID(),
125 ExecID: p.id,
126 })
127 if err != nil {
128 return errgrpc.ToNative(err)
129 }
130 return nil
131}
132
133// Wait on the process to exit and return the exit status and timestamp
134func (p *process) Wait(ctx context.Context) (*runtime.Exit, error) {

Callers

nothing calls this directly

Calls 2

StartMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected