MCPcopy
hub / github.com/containerd/containerd / CreateContainer

Method CreateContainer

internal/nri/nri.go:64–64  ·  view source on GitHub ↗

CreateContainer relays container creation requests to NRI.

(context.Context, PodSandbox, Container)

Source from the content-addressed store, hash-verified

62
63 // CreateContainer relays container creation requests to NRI.
64 CreateContainer(context.Context, PodSandbox, Container) (*nri.ContainerAdjustment, error)
65
66 // PostCreateContainer relays successful container creation events to NRI.
67 PostCreateContainer(context.Context, PodSandbox, Container) error

Callers 15

createContainerFuzzFunction · 0.65
TestPodUserNSFunction · 0.65
TestIssue10598Function · 0.65
TestUsernsVolumeCopyUpFunction · 0.65
TestContainerRestartFunction · 0.65
TestLongContainerLogFunction · 0.65
TestAdditionalGidsFunction · 0.65
TestContainerdImageFunction · 0.65

Implementers 1

localinternal/nri/nri.go

Calls

no outgoing calls

Tested by 15

createContainerFuzzFunction · 0.52
TestPodUserNSFunction · 0.52
TestIssue10598Function · 0.52
TestUsernsVolumeCopyUpFunction · 0.52
TestContainerRestartFunction · 0.52
TestLongContainerLogFunction · 0.52
TestAdditionalGidsFunction · 0.52
TestContainerdImageFunction · 0.52