Commit Graph

628 Commits

Author SHA1 Message Date
Bradley Cicenas 423ad8e753 add stateMap for consistent state sorting 2017-03-01 11:03:57 +11:00
Bradley Cicenas 2c198ae2a0 initialize metrics with negative value prior to collector start 2017-03-01 10:23:24 +11:00
Bradley Cicenas 69128f1947 add mock container source, rename docker source 2017-02-28 09:35:33 +11:00
Bradley Cicenas 2329f93e5f fix reset method for compact widgets 2017-02-28 09:29:35 +11:00
Bradley Cicenas bb682677f5 update mock collector to match interface 2017-02-28 09:28:52 +11:00
Bradley Cicenas 6cc357bb97 remove Render method from containerWidgets interface 2017-02-27 09:55:45 +11:00
Bradley Cicenas 70f2648952 refactor all container widgets into subpackage 2017-02-27 09:04:24 +11:00
Bradley Cicenas 4aaf26b63d add common column width calculation method, global column spacing 2017-02-27 08:23:56 +11:00
Bradley Cicenas 05b50af87b add ContainerSource interface, fix secondary sort method 2017-02-27 08:12:28 +11:00
Bradley Cicenas 4709624b17 move field header into CompactGrid, add Align() method 2017-02-26 18:31:23 +11:00
Bradley Cicenas b84e22fb90 refactor compact widgets into recursive gridbufferer 2017-02-26 17:22:50 +11:00
Bradley Cicenas 381f1da602 move maxrows method out of grid 2017-02-25 18:16:00 +11:00
Bradley Cicenas c3bb7c6b96 further containermap refactoring 2017-02-24 20:10:14 +11:00
Bradley Cicenas cb9f38adb3 refactor container refresh with docker event handler 2017-02-24 12:18:59 +11:00
Bradley Cicenas cf5eff40bb refactor containers as array 2017-02-24 09:00:05 +11:00
Bradley Cicenas 7edde13a4d further collector refactoring, add logging to metrics subpackage 2017-02-23 13:24:26 +11:00
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