MCPcopy
hub / github.com/containerd/containerd / ImageStatus

Method ImageStatus

integration/remote/remote_image.go:74–80  ·  view source on GitHub ↗
(image *runtimeapi.ImageSpec, _ ...grpc.CallOption)

Source from the content-addressed store, hash-verified

72}
73
74func (r *ImageService) ImageStatus(image *runtimeapi.ImageSpec, _ ...grpc.CallOption) (*runtimeapi.Image, error) {
75 resp, err := r.imageService.ImageStatus(context.Background(), image, false)
76 if err != nil {
77 return nil, err
78 }
79 return resp.GetImage(), nil
80}
81
82func (r *ImageService) PullImage(image *runtimeapi.ImageSpec, auth *runtimeapi.AuthConfig, podSandboxConfig *runtimeapi.PodSandboxConfig, runtimeHandler string, _ ...grpc.CallOption) (string, error) {
83 requestImage := image

Callers 9

imageStatusFuzzFunction · 0.45
TestContainerdImageFunction · 0.45
TestTruncIndexFunction · 0.45
EnsureImageExistsFunction · 0.45
TestImageLoadFunction · 0.45

Calls 1

GetImageMethod · 0.65

Tested by 9

imageStatusFuzzFunction · 0.36
TestContainerdImageFunction · 0.36
TestTruncIndexFunction · 0.36
EnsureImageExistsFunction · 0.36
TestImageLoadFunction · 0.36