MCPcopy
hub / github.com/containerd/containerd / Task

Method Task

client/container.go:206–208  ·  view source on GitHub ↗
(ctx context.Context, attach cio.Attach)

Source from the content-addressed store, hash-verified

204}
205
206func (c *container) Task(ctx context.Context, attach cio.Attach) (Task, error) {
207 return c.loadTask(ctx, attach)
208}
209
210// Image returns the image that the container is based on
211func (c *container) Image(ctx context.Context) (Image, error) {

Callers

nothing calls this directly

Calls 1

loadTaskMethod · 0.95

Tested by

no test coverage detected