Commit Graph

32 Commits

Author SHA1 Message Date
Jeff Carr 082e717d3d ready to do an event response
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 23:26:24 -07:00
Jeff Carr 06e60fbcb6 add a gorilla websocket send
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 23:21:57 -07:00
Jeff Carr a737a23d6f This seems to actually add a protobuf to the channel (not Marshal'd though)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-11 07:53:32 -07:00
Jeff Carr 6f149c2706 GUI more stable than before
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:27:28 -07:00
Jeff Carr baecdd3d58 try to stabilize the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:21:32 -07:00
Jeff Carr 745ef852ef start on a cloud info tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 23:25:27 -07:00
Jeff Carr 24ae9a3033 add a -nogui option for debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 07:00:38 -07:00
Jeff Carr 4863991462 does multiline socket reads
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 06:52:51 -07:00
Jeff Carr 91b9a337e9 first attempt at passing in the column types and names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 17:44:14 -07:00
Jeff Carr 67418e41da successfully entered a row
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 15:29:06 -07:00
Jeff Carr 76bf66e1f9 try a table with 700 rows. very fast.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:21:05 -07:00
Jeff Carr 2107a4876e Try to dynamically add some of the other tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:03:10 -07:00
Jeff Carr 048c4f4b32 Move gui code into git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:09:44 -07:00
Jeff Carr 771f9eb29f Isolate all GUI code in an attempt to make a library out of it.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:02:27 -07:00
Jeff Carr b84d38e33b ah. maybe it's possible to completely abstract this all away
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 01:49:09 -07:00
Jeff Carr 32f03ccffa color text works for some reason
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:41:55 -07:00
Jeff Carr f1a37e410c no longer crashes. seems stable. Can edit text fields
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:02:47 -07:00
Jeff Carr 369a8941a8 successfully add 2 tabs dynamically
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 16:42:16 -07:00
Jeff Carr dc3f440e47 dynamically add tabs. work around the JSON config file problem
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 14:54:08 -07:00
Jeff Carr 5f1dde7e27 write out json and yaml config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 05:02:39 -07:00
Jeff Carr 64223c47cd loop through attempts to connect every 10 seconds
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 04:28:50 -07:00
Jeff Carr 00a2d142f1 moved to gui.go. jesus this language is great to work with
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 19:00:52 -07:00
Jeff Carr 4d13b8abec prepare to move all the GUI code out of main.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 18:57:59 -07:00
Jeff Carr 6ddbe8c28d need this for it to work under windows. This is probably actually a bug
and can be fixed in the andlabs import internally with go

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 17:42:59 -07:00
Jeff Carr 790b4ae20a add a gui-example1/ to test macos and windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 16:41:59 -07:00
Jeff Carr 229b470935 pass the name into the handler. start seperating the ui table callbacks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 14:14:32 -07:00
Jeff Carr 85956b4020 due to some sort of magic, two tables like this actually fucking worked without a segfault
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 13:50:10 -07:00
Jeff Carr cbdf74a764 start focusing on making a table for the VMs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 09:51:16 -07:00
Jeff Carr 701339dd7c add a table after figuring out how to correctly get it
to work under linux. TODO: send fix to libui author

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 00:32:46 -07:00
Jeff Carr 910107d044 start to simplify some of the UI code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 06:44:56 -08:00
Jeff Carr 0c7ed3bab4 show k8s pods that work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 06:35:08 -08:00
Jeff Carr 4c686b87a5 Initial Commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 05:28:17 -08:00