images: support specifying SourceDateEpoch via ctx

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2022-11-30 22:27:24 +09:00
parent dc48349248
commit 75b09ac4a7
6 changed files with 174 additions and 99 deletions

View File

@@ -3214,6 +3214,14 @@ file {
type_name: ".containerd.services.images.v1.Image"
json_name: "image"
}
field {
name: "source_date_epoch"
number: 2
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
json_name: "sourceDateEpoch"
}
}
message_type {
name: "CreateImageResponse"
@@ -3244,6 +3252,14 @@ file {
type_name: ".google.protobuf.FieldMask"
json_name: "updateMask"
}
field {
name: "source_date_epoch"
number: 3
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".google.protobuf.Timestamp"
json_name: "sourceDateEpoch"
}
}
message_type {
name: "UpdateImageResponse"