53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"services": [
|
|
{
|
|
"Spec": {"Name": "foo"},
|
|
"Endpoint": {
|
|
"Ports": [
|
|
{
|
|
"PublishedPort": 10001,
|
|
"Protocol": "tcp"
|
|
}
|
|
]
|
|
}
|
|
}, {
|
|
"Spec": {"Name": "bar_main"},
|
|
"Endpoint": {
|
|
"Ports": [
|
|
{
|
|
"PublishedPort": 10003,
|
|
"Protocol": "tcp"
|
|
}
|
|
]
|
|
}
|
|
}, {
|
|
"Spec": {"Name": "bar_foo"},
|
|
"Endpoint": {
|
|
"Ports": [
|
|
{
|
|
"PublishedPort": 10003,
|
|
"Protocol": "udp"
|
|
}
|
|
]
|
|
}
|
|
}, {
|
|
"Spec": {"Name": "baz"},
|
|
"Endpoint": {}
|
|
}
|
|
],
|
|
"nodes": [
|
|
{
|
|
"Description": {"Hostname": "fooNode"},
|
|
"ManagerStatus": {"Addr": "10.0.0.1:2377"},
|
|
"Status": {"Addr": "0.0.0.0"}
|
|
}, {
|
|
"Description": {"Hostname": "barNode"},
|
|
"ManagerStatus": {"Addr": "10.0.0.2:2377"},
|
|
"Status": {"Addr": "10.0.0.2"}
|
|
}, {
|
|
"Description": {"Hostname": "bazNode"},
|
|
"Status": {"Addr": "10.0.0.3"}
|
|
}
|
|
]
|
|
}
|