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

Method Spec

client/task.go:235–237  ·  view source on GitHub ↗

Spec returns the current OCI specification for the task

(ctx context.Context)

Source from the content-addressed store, hash-verified

233
234// Spec returns the current OCI specification for the task
235func (t *task) Spec(ctx context.Context) (*oci.Spec, error) {
236 return t.c.Spec(ctx)
237}
238
239// ID of the task
240func (t *task) ID() string {

Callers

nothing calls this directly

Calls 1

SpecMethod · 0.65

Tested by

no test coverage detected