MCPcopy
hub / github.com/containerd/containerd / Get

Method Get

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

Get returns a task.

(ctx context.Context, taskID string)

Source from the content-addressed store, hash-verified

75 Create(ctx context.Context, taskID string, opts CreateOpts) (Task, error)
76 // Get returns a task.
77 Get(ctx context.Context, taskID string) (Task, error)
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)

Callers 15

GetMethod · 0.65
ReadMethod · 0.65
WriteMethod · 0.65
openMethod · 0.65
defaultHandlerMethod · 0.65
TestFetcherOpenFunction · 0.65
TestFetcherOpenParallelFunction · 0.65
pushMethod · 0.65
CommitMethod · 0.65

Implementers 1

TaskManagercore/runtime/v2/task_manager.go

Calls

no outgoing calls

Tested by 12

defaultHandlerMethod · 0.52
TestFetcherOpenFunction · 0.52
TestFetcherOpenParallelFunction · 0.52
TestRefreshTokenResolverFunction · 0.52
withTokenServerFunction · 0.52
ServeHTTPMethod · 0.52
BasicTestFuncMethod · 0.52
testResolverWithHostsDirFunction · 0.52