Show runtime handler in sandbox debug info.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-09-16 21:27:51 -07:00
parent e402ae2f02
commit 4b45e16a4b
4 changed files with 20 additions and 16 deletions

View File

@@ -54,6 +54,8 @@ type Metadata struct {
NetNSPath string
// IP of Pod if it is attached to non host network
IP string
// RuntimeHandler is the runtime handler name of the pod.
RuntimeHandler string
}
// MarshalJSON encodes Metadata into bytes in json format.