MCPcopy
hub / github.com/containerd/containerd / Stop

Method Stop

client/sandbox.go:112–114  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

110}
111
112func (s *sandboxClient) Stop(ctx context.Context) error {
113 return s.client.SandboxController(s.metadata.Sandboxer).Stop(ctx, s.ID())
114}
115
116func (s *sandboxClient) Shutdown(ctx context.Context) error {
117 if err := s.client.SandboxController(s.metadata.Sandboxer).Shutdown(ctx, s.ID()); err != nil && !errdefs.IsNotFound(err) {

Callers

nothing calls this directly

Calls 3

IDMethod · 0.95
StopMethod · 0.65
SandboxControllerMethod · 0.65

Tested by

no test coverage detected