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

Method Tasks

core/runtime/runtime.go:80–80  ·  view source on GitHub ↗

Tasks returns all the current tasks for the runtime. Any container runs at most one task at a time.

(ctx context.Context, all bool)

Source from the content-addressed store, hash-verified

78 // Tasks returns all the current tasks for the runtime.
79 // Any container runs at most one task at a time.
80 Tasks(ctx context.Context, all bool) ([]Task, error)
81 // Delete remove a task.
82 Delete(ctx context.Context, taskID string) (*Exit, error)
83}

Callers 3

initFuncFunction · 0.65
ListMethod · 0.65
MetricsMethod · 0.65

Implementers 1

TaskManagercore/runtime/v2/task_manager.go

Calls

no outgoing calls

Tested by

no test coverage detected