(image *runtimeapi.ImageSpec, _ ...grpc.CallOption)
| 72 | } |
| 73 | |
| 74 | func (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 | |
| 82 | func (r *ImageService) PullImage(image *runtimeapi.ImageSpec, auth *runtimeapi.AuthConfig, podSandboxConfig *runtimeapi.PodSandboxConfig, runtimeHandler string, _ ...grpc.CallOption) (string, error) { |
| 83 | requestImage := image |