MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / sandboxImage

Method sandboxImage

core/image.go:39–46  ·  view source on GitHub ↗

This file implements methods in ImageManagerService.

()

Source from the content-addressed store, hash-verified

37// This file implements methods in ImageManagerService.
38
39func (ds *dockerService) sandboxImage() string {
40 image := defaultSandboxImage
41 podSandboxImage := ds.podSandboxImage
42 if len(podSandboxImage) != 0 {
43 image = podSandboxImage
44 }
45 return image
46}
47
48func isPinned(image string, tags []string) bool {
49 pinned := false

Callers 2

ListImagesMethod · 0.95
ImageStatusMethod · 0.95

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected