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

Method State

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

State returns the process state

(ctx context.Context)

Source from the content-addressed store, hash-verified

37 ID() string
38 // State returns the process state
39 State(ctx context.Context) (State, error)
40 // Kill signals a container
41 Kill(ctx context.Context, signal uint32, all bool) error
42 // ResizePty resizes the processes pty/console

Callers 15

processMethod · 0.65
processMethod · 0.65
TestContainerStateFunction · 0.65
WithStatusFunction · 0.65
ListContainersMethod · 0.65
GetStatusMethod · 0.65
loadContainerMethod · 0.65
CheckpointContainerMethod · 0.65
toCRIContainerStatusFunction · 0.65
stopContainerMethod · 0.65
ExecMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestContainerStateFunction · 0.52