MCPcopy
hub / github.com/containerd/containerd / Create

Method Create

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

Create is used to initialize sandbox environment. (mounts, any)

(ctx context.Context, sandboxInfo Sandbox, opts ...CreateOpt)

Source from the content-addressed store, hash-verified

95type Controller interface {
96 // Create is used to initialize sandbox environment. (mounts, any)
97 Create(ctx context.Context, sandboxInfo Sandbox, opts ...CreateOpt) error
98 // Start will start previously created sandbox.
99 Start(ctx context.Context, sandboxID string) (ControllerInstance, error)
100 // Platform returns target sandbox OS that will be used by Controller.

Callers 2

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