MCPcopy Create free account
hub / github.com/containerd/containerd / criContainerStateToString

Function criContainerStateToString

internal/cri/server/helpers.go:164–166  ·  view source on GitHub ↗

criContainerStateToString formats CRI container state to string.

(state runtime.ContainerState)

Source from the content-addressed store, hash-verified

162
163// criContainerStateToString formats CRI container state to string.
164func criContainerStateToString(state runtime.ContainerState) string {
165 return runtime.ContainerState_name[int32(state)]
166}
167
168// toContainerdImage converts an image object in image store to containerd image handler.
169func (c *criService) toContainerdImage(ctx context.Context, image imagestore.Image) (containerd.Image, error) {

Callers 7

CheckpointContainerMethod · 0.85
stopContainerMethod · 0.85
ExecMethod · 0.85
setContainerStartingFunction · 0.85
execInContainerMethod · 0.85
AttachMethod · 0.85
attachContainerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…