add test for container/pod metadata in status/list APIs

Signed-off-by: HaoZhang <crazykev@zju.edu.cn>
This commit is contained in:
HaoZhang 2016-10-27 14:24:27 +08:00
parent ca59eaf1a4
commit 018c4db06d
5 changed files with 116 additions and 3 deletions

View file

@ -1,6 +1,7 @@
{
"metadata": {
"name": "container1"
"name": "container1",
"attempt": 1
},
"image": {
"image": "docker://redis:latest"

View file

@ -1,6 +1,9 @@
{
"metadata": {
"name": "podsandbox1"
"name": "podsandbox1",
"uid": "redhat-test-ocid",
"namespace": "redhat.test.ocid",
"attempt": 1
},
"hostname": "ocic_host",
"log_directory": ".",