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

Function unknownContainerStatus

internal/cri/server/helpers.go:257–266  ·  view source on GitHub ↗

unknownContainerStatus returns the default container status when its status is unknown.

()

Source from the content-addressed store, hash-verified

255
256// unknownContainerStatus returns the default container status when its status is unknown.
257func unknownContainerStatus() containerstore.Status {
258 return containerstore.Status{
259 CreatedAt: 0,
260 StartedAt: 0,
261 FinishedAt: 0,
262 ExitCode: unknownExitCode,
263 Reason: unknownExitReason,
264 Unknown: true,
265 }
266}
267
268// copyResourcesToStatus copys container resource contraints from spec to
269// container status.

Callers 1

loadContainerMethod · 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…