MCPcopy
hub / github.com/containerd/containerd / Spec

Method Spec

client/container.go:61–61  ·  view source on GitHub ↗

Spec returns the OCI runtime specification

(context.Context)

Source from the content-addressed store, hash-verified

59 NewTask(context.Context, cio.Creator, ...NewTaskOpts) (Task, error)
60 // Spec returns the OCI runtime specification
61 Spec(context.Context) (*oci.Spec, error)
62 // Task returns the current task for the container
63 //
64 // If cio.Load options are passed the client will Load the IO for the running

Callers 13

TestNewContainerFunction · 0.95
TestContainerExecFunction · 0.95
TestWaitStoppedProcessFunction · 0.95
TestProcessForceDeleteFunction · 0.95
TestContainerUpdateFunction · 0.95
TestUIDNoGIDFunction · 0.95

Calls

no outgoing calls

Tested by 12

TestNewContainerFunction · 0.76
TestContainerExecFunction · 0.76
TestWaitStoppedProcessFunction · 0.76
TestProcessForceDeleteFunction · 0.76
TestContainerUpdateFunction · 0.76
TestUIDNoGIDFunction · 0.76