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

Method Pid

client/task.go:245–247  ·  view source on GitHub ↗

Pid returns the pid or process id for the task

()

Source from the content-addressed store, hash-verified

243
244// Pid returns the pid or process id for the task
245func (t *task) Pid() uint32 {
246 return t.pid
247}
248
249func (t *task) Start(ctx context.Context) error {
250 ctx, span := tracing.StartSpan(ctx, tracing.Name("client.task", "Start"),

Callers 1

KillMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected