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

Method Platform

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

Platform returns target sandbox OS that will be used by Controller. containerd will rely on this to generate proper OCI spec.

(_ctx context.Context, _sandboxID string)

Source from the content-addressed store, hash-verified

100 // Platform returns target sandbox OS that will be used by Controller.
101 // containerd will rely on this to generate proper OCI spec.
102 Platform(_ctx context.Context, _sandboxID string) (imagespec.Platform, error)
103 // Stop will stop sandbox instance
104 Stop(ctx context.Context, sandboxID string, opts ...StopOpt) error
105 // Wait blocks until sandbox process exits.

Callers 2

PlatformMethod · 0.65
PlatformMethod · 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

no test coverage detected