Add OSVersion to platform protobuf

It also extends the functions in api/types/platform_helpers.go

Signed-off-by: kiashok <kiashok@microsoft.com>
This commit is contained in:
kiashok
2024-02-07 10:07:26 -08:00
parent d9cae66d8d
commit 5aa05481dd
4 changed files with 26 additions and 6 deletions

View File

@@ -881,6 +881,13 @@ file {
type: TYPE_STRING
json_name: "variant"
}
field {
name: "os_version"
number: 4
label: LABEL_OPTIONAL
type: TYPE_STRING
json_name: "osVersion"
}
}
options {
go_package: "github.com/containerd/containerd/v2/api/types;types"