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

Method Wait

core/sandbox/controller.go:106–106  ·  view source on GitHub ↗

Wait blocks until sandbox process exits.

(ctx context.Context, sandboxID string)

Source from the content-addressed store, hash-verified

104 Stop(ctx context.Context, sandboxID string, opts ...StopOpt) error
105 // Wait blocks until sandbox process exits.
106 Wait(ctx context.Context, sandboxID string) (ExitStatus, error)
107 // Status will query sandbox process status. It is heavier than Ping call and must be used whenever you need to
108 // gather metadata about current sandbox state (status, uptime, resource use, etc).
109 Status(ctx context.Context, sandboxID string, verbose bool) (ControllerStatus, error)

Callers 15

startDaemonFunction · 0.65
WaitMethod · 0.65
WaitMethod · 0.65
fetchMethod · 0.65
getUsernsFDFunction · 0.65
supportsIDMapFunction · 0.65
TestRegressionIssue6772Function · 0.65
CollectMethod · 0.65
CollectMethod · 0.65
waitMethod · 0.65
waitMethod · 0.65

Implementers 8

remoteSandboxControllercore/sandbox/proxy/controller.go
fakeSandboxControllerinternal/cri/server/service_test.go
Controllerinternal/cri/server/podsandbox/control
ttrpccontrollerClientapi/services/sandbox/v1/sandbox_ttrpc.
controllerClientapi/services/sandbox/v1/sandbox_grpc.p
UnimplementedControllerServerapi/services/sandbox/v1/sandbox_grpc.p
controllerLocalplugins/sandbox/controller.go
stubControllerplugins/services/sandbox/controller_se

Calls

no outgoing calls

Tested by 3

supportsIDMapFunction · 0.52
TestRegressionIssue6772Function · 0.52