Commit Graph

112 Commits

Author SHA1 Message Date
Bradley Cicenas
70f86c4812 rename collector subpackage 2017-02-23 13:03:55 +11:00
Bradley Cicenas
d06f07044f start moving collector init into containermap 2017-02-23 13:01:56 +11:00
Bradley Cicenas
b529d41091 add secondary sort by name 2017-02-23 12:32:35 +11:00
Bradley Cicenas
a1fdd8fb49 add sorting by container state 2017-02-22 16:20:37 +11:00
Bradley Cicenas
9b483ba2f3 include block positioning in menu item drawing 2017-02-20 11:01:27 +11:00
Bradley Cicenas
93db38d654 align ctop header on resize, add keybinding to help dialog 2017-02-20 10:52:59 +11:00
Bradley Cicenas
335ac8d741 smooth cursor, row rendering. add maxRows calc to grid 2017-02-20 10:23:59 +11:00
Bradley Cicenas
549d4892eb move filter into own function 2017-02-20 10:23:17 +11:00
Bradley Cicenas
8f8474e468 move compact field header into widgets 2017-02-19 15:09:27 +11:00
Bradley Cicenas
40085edbcc update switch defaults 2017-02-19 14:58:42 +11:00
Bradley Cicenas
84849a0c9f add SetCursor method to menu 2017-02-19 14:54:24 +11:00
Bradley Cicenas
db050031df check for nil listener before close 2017-02-18 14:37:00 +11:00
Bradley Cicenas
0e8480ce5d render global header independent of grid rows 2017-02-18 14:31:50 +11:00
Bradley Cicenas
3c28137873 add quote method to config log messages 2017-02-18 14:30:54 +11:00
Bradley Cicenas
8d9e6fd273 redrawrows on resize 2017-02-18 11:59:13 +11:00
Bradley Cicenas
24b92384ac resize indicator in gridview to override automatic alignment 2017-02-18 11:43:45 +11:00
Bradley Cicenas
2fdf68e876 move logging server into own file, improve cleanup 2017-02-17 17:48:38 +11:00
Bradley Cicenas
47360bc8e7 set default log level to INFO 2017-02-17 10:32:16 +11:00
Bradley Cicenas
5419337c17 move container state filtering into containermap 2017-02-16 15:35:25 +11:00
Bradley Cicenas
a1f860a020 export config struct fields, add convenience methods for value fetching 2017-02-16 15:06:05 +11:00
Bradley Cicenas
5bbce31601 simplify config, export GlobalParams+GlobalSwitches 2017-02-16 14:49:41 +11:00
Bradley Cicenas
90f6ce3962 refactor config, add Switch and Param struct + config labels 2017-02-16 14:02:13 +11:00
Bradley Cicenas
5f13563b6f add runtime config param for toggling all containers 2017-02-16 11:00:31 +11:00
Bradley Cicenas
9ddc99f788 refactor menu into subpackage 2017-02-15 18:40:16 +11:00
Bradley Cicenas
c9632c9bf6 add DelItem method to Menu 2017-02-15 17:15:03 +11:00
Bradley Cicenas
eb66f32a71 add SortItems param to Menu, AddItems method 2017-02-15 17:01:35 +11:00
Bradley Cicenas
b9bdc1c9c5 add Text() method, sorting to MenuItem 2017-02-15 16:31:04 +11:00
Bradley Cicenas
d031433ec4 refactor menu widget, add menuitem struct 2017-02-15 15:44:03 +11:00
Bradley Cicenas
97a561260a add filter string to ctopheader 2017-02-13 14:37:17 +11:00
Bradley Cicenas
70974ee131 move reset view,handlers into each menu 2017-02-13 14:22:32 +11:00
Bradley Cicenas
e49af4d5bf bind input area to block coordinates 2017-02-13 14:16:36 +11:00
Bradley Cicenas
493307b06d add keybindings to readme 2017-02-13 14:01:30 +11:00
Bradley Cicenas
0b100bf4fa add log message to config toggle 2017-02-12 17:25:48 +11:00
Bradley Cicenas
d56af1d932 update config with get, gettoggle methods 2017-02-12 17:03:10 +11:00
Bradley Cicenas
d5d91398f5 add logging back to config, move logging server start to main package 2017-02-12 16:14:50 +11:00
Bradley Cicenas
4450abf89b update logging with Init() method 2017-02-12 16:10:40 +11:00
Bradley Cicenas
3513f7485d group var definitions in block 2017-02-11 03:58:26 +00:00
Bradley Cicenas
a6aa9859c0 combine package global vars 2017-02-09 14:49:46 +11:00
Bradley Cicenas
85cd6864ba refactor global config into subpackage 2017-02-07 03:33:09 +00:00
Bradley Cicenas
d5d00b730b add logEvent hook 2017-02-05 11:56:45 +11:00
Bradley Cicenas
1a3968409b add notice log to updateconfig 2017-02-05 11:33:16 +11:00
Bradley Cicenas
198d4974e3 add waitgroup, exit handlers to logging server 2017-02-05 11:25:30 +11:00
Bradley Cicenas
2b279efc4e refactor logging listener 2017-02-04 19:59:33 +11:00
Bradley Cicenas
03789b8ed3 add ctoplogger, log facility, socket server 2017-02-04 13:01:52 +11:00
Bradley Cicenas
3f36e0c1f5 add SetStatus method to Container 2017-02-04 10:33:13 +11:00
Bradley Cicenas
dbe657c9e1 remove unused attribute 2017-02-02 23:25:45 +00:00
Bradley Cicenas
987da85db3 add container state checks, set status icon based on state string 2017-02-03 18:09:55 +11:00
Bradley Cicenas
9671fffbe9 add status indicator, setstatus method 2017-02-03 17:00:23 +11:00
Bradley Cicenas
271a059d3a add mock collector 2017-01-30 16:25:56 +11:00
Bradley Cicenas
4b169d6a1b fix panic on already closed stats channel 2017-01-29 03:39:53 +00:00