add buttons for each account

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-23 15:06:39 -07:00
parent 2d13d83cf5
commit 2734ba2193
2 changed files with 83 additions and 0 deletions

View File

@ -50,6 +50,9 @@ json-readable:
json-restore:
cp resources/jcarr.json ~/.config/cloud-control-panel.json
json-test:
cp resources/test.json ~/.config/cloud-control-panel.json
json-delete:
mv ~/.config/cloud-control-panel.json /tmp

80
resources/test.json Normal file
View File

@ -0,0 +1,80 @@
{
"BUILDDEBUG": "",
"MAIL": "/var/mail/jcarr",
"USER": "jcarr",
"accounts": {
"bmath": {
"domainname": "testing.com.customers.wprod.wit.com",
"hostname": "v000185.testing.com.customers.wprod.wit.com",
"username": "bmath@wit.com",
"port": 9000,
"proto": "tcp"
},
"jcarr": {
"domainname": "lab.wit.com",
"hostname": "fire.lab.wit.com",
"username": "jcarr@wit.com",
"port": 3333,
"proto": "tcp",
"rows": 18
},
"jcarr2": {
"domainname": "lab.wit.com",
"hostname": "fire.lab.wit.com",
"username": "jcarr@wit.com",
"password": "yowzayowza",
"port": 3333,
"proto": "tcp",
"rows": 18
},
"jcarr4": {
"domainname": "testing.com",
"hostname": "v000185.testing.com.customers.wprod.wit.com",
"password": "yowzayowza",
"username": "jcarr@wit.com"
},
"jcarr6": {
"domainname": "testing.com.customers.wprod.wit.com",
"hostname": "v000185.testing.com.customers.wprod.wit.com",
"password": "testsinasfd",
"username": "jcarr@wit.com"
}
},
"arr1": [
"lo",
"wifi0",
"docker0"
],
"baseKey": "value2",
"cloud": {
"jcarr": {
"hostname": "fire.lab.wit.com",
"port": 3333,
"proto": "tcp",
"rows": 18
},
"v000185": {
"hostname": "v000185.testing.com.customers.wprod.wit.com",
"port": 3333,
"proto": "tcp",
"rows": 567
}
},
"configfile": "/home/jcarr/.config/cloud-control-panel.json",
"debug": true,
"debugging": true,
"envKey1": "${NotExist|defValue}",
"height": 600,
"hostname": "localhost",
"map1": {
"key1": {
"jwc1": "jcarr1",
"jwc2": "jcarr2"
},
"key2": "val20"
},
"name": "app2",
"nogui": false,
"shell": "${SHELL}",
"width": 800
}