ListPids returns process ID and other info

Signed-off-by: Jess <jessica.valarezo@docker.com>
This commit is contained in:
Jess
2017-10-10 22:57:15 +00:00
parent 72bb45ac46
commit 061c719209
18 changed files with 1118 additions and 405 deletions

View File

@@ -2956,6 +2956,7 @@ file {
package: "containerd.v1.types"
dependency: "gogoproto/gogo.proto"
dependency: "google/protobuf/timestamp.proto"
dependency: "google/protobuf/any.proto"
message_type {
name: "Process"
field {
@@ -3035,6 +3036,24 @@ file {
json_name: "exitedAt"
}
}
message_type {
name: "ProcessInfo"
field {
name: "pid"
number: 1
label: LABEL_OPTIONAL
type: TYPE_UINT32
json_name: "pid"
}
field {
name: "info"
number: 2
label: LABEL_OPTIONAL
type: TYPE_MESSAGE
type_name: ".google.protobuf.Any"
json_name: "info"
}
}
enum_type {
name: "Status"
value {
@@ -3490,11 +3509,12 @@ file {
message_type {
name: "ListPidsResponse"
field {
name: "pids"
name: "processes"
number: 1
label: LABEL_REPEATED
type: TYPE_UINT32
json_name: "pids"
type: TYPE_MESSAGE
type_name: ".containerd.v1.types.ProcessInfo"
json_name: "processes"
}
}
message_type {