add unit tests to stack package
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
Upstream-commit: 535af2d868
Component: cli
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"Services": {
|
||||
"visualizer": {
|
||||
"Image": "busybox@sha256:32f093055929dbc23dec4d03e09dfe971f5973a9ca5cf059cbfb644c206aa83f",
|
||||
"Networks": [
|
||||
"webnet"
|
||||
],
|
||||
"Ports": [
|
||||
{
|
||||
"Port": 8080,
|
||||
"Protocol": "tcp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"web": {
|
||||
"Image": "busybox@sha256:32f093055929dbc23dec4d03e09dfe971f5973a9ca5cf059cbfb644c206aa83f",
|
||||
"Networks": [
|
||||
"webnet"
|
||||
],
|
||||
"Ports": [
|
||||
{
|
||||
"Port": 80,
|
||||
"Protocol": "tcp"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Version": "0.1"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
NAME SERVICES
|
||||
service-name-bar 1
|
||||
service-name-foo 1
|
||||
@@ -0,0 +1 @@
|
||||
service-name-foo
|
||||
@@ -0,0 +1,2 @@
|
||||
NAME SERVICES
|
||||
service-name-foo 1
|
||||
@@ -0,0 +1 @@
|
||||
service-id-foo.1
|
||||
@@ -0,0 +1 @@
|
||||
service-id-foo.1
|
||||
+1
@@ -0,0 +1 @@
|
||||
id-node-foo
|
||||
+1
@@ -0,0 +1 @@
|
||||
xn4cypcov06f2w8gsbaf2lst3
|
||||
@@ -0,0 +1 @@
|
||||
id-foo
|
||||
@@ -0,0 +1,2 @@
|
||||
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
|
||||
id-foo service-id-foo.1 myimage:mytag node-name-bar Ready Failed 2 hours ago
|
||||
+1
@@ -0,0 +1 @@
|
||||
service-name-foo
|
||||
@@ -0,0 +1 @@
|
||||
service-name-foo
|
||||
+1
@@ -0,0 +1 @@
|
||||
id-foo
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
ID NAME MODE REPLICAS IMAGE PORTS
|
||||
id-foo name-foo replicated 0/2 busybox:latest *:0->3232/tcp
|
||||
Reference in New Issue
Block a user