criContainerStateToString formats CRI container state to string.
(state runtime.ContainerState)
| 162 | |
| 163 | // criContainerStateToString formats CRI container state to string. |
| 164 | func 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. |
| 169 | func (c *criService) toContainerdImage(ctx context.Context, image imagestore.Image) (containerd.Image, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…