Commit ba5a684c authored by Pengfei Ni's avatar Pengfei Ni

CRI: add image ref to PullImageResponse

parent cac38615
...@@ -421,9 +421,8 @@ message ListPodSandboxResponse { ...@@ -421,9 +421,8 @@ message ListPodSandboxResponse {
} }
// ImageSpec is an internal representation of an image. Currently, it wraps the // ImageSpec is an internal representation of an image. Currently, it wraps the
// value of a Container's Image field (e.g. imageName, imageName:tag, or // value of a Container's Image field (e.g. imageID or imageDigest), but in the
// imageName:digest), but in the future it will include more detailed // future it will include more detailed information about the different image types.
// information about the different image types.
message ImageSpec { message ImageSpec {
optional string image = 1; optional string image = 1;
} }
...@@ -878,7 +877,11 @@ message PullImageRequest { ...@@ -878,7 +877,11 @@ message PullImageRequest {
optional PodSandboxConfig sandbox_config = 3; optional PodSandboxConfig sandbox_config = 3;
} }
message PullImageResponse {} message PullImageResponse {
// Reference to the image in use. For most runtimes, this should be an
// image ID or digest.
optional string image_ref = 1;
}
message RemoveImageRequest { message RemoveImageRequest {
// Spec of the image to remove. // Spec of the image to remove.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment