Commit Graph

37 Commits

Author SHA1 Message Date
Bradley Cicenas
8aa932b29f Toggle debug mode via env var
remove logging param from global config, allowing logging server and
level to be configured inside logging subpackage from CTOP_DEBUG env var
2017-03-19 15:10:03 +10:00
Bradley Cicenas
e94a9c0cc2 remove redundant bool comparisons 2017-03-15 10:06:52 +10:00
Bradley Cicenas
e82d77ecb0 add option for color inversion 2017-03-15 10:02:46 +10:00
Bradley Cicenas
1285288b9e add validation to sort field option 2017-03-15 08:49:11 +10:00
Bradley Cicenas
b3cdb33efc add explicit version to Dockerfile, circleci 2017-03-15 08:34:58 +10:00
Vishnu Bharathi
8203d0b883 adds more commandline arguments 2017-03-11 00:09:06 +05:30
Bradley Cicenas
0e3fe88bb4 use consistent case for ctop name 2017-03-09 10:40:35 +11:00
Bradley Cicenas
b8eb386360 add global default ColorMap 2017-03-08 10:40:03 +11:00
Bradley Cicenas
aaf98a77dc add version, help printing to main() 2017-03-07 12:04:45 +11:00
Bradley Cicenas
d40b765dbb add version, build vars 2017-03-07 11:13:48 +11:00
Bradley Cicenas
a1d68833fa lower logging, add keybindings to help menu 2017-03-07 11:09:46 +11:00
Bradley Cicenas
132335c8a4 remove Grid struct, move cursor into own package file 2017-03-06 14:03:05 +11:00
Bradley Cicenas
56be64367b refactor widgets, add wrapper structs 2017-03-03 18:57:26 +11:00
Bradley Cicenas
2fdf68e876 move logging server into own file, improve cleanup 2017-02-17 17:48:38 +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
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
85cd6864ba refactor global config into subpackage 2017-02-07 03:33:09 +00:00
Bradley Cicenas
198d4974e3 add waitgroup, exit handlers to logging server 2017-02-05 11:25:30 +11:00
Bradley Cicenas
03789b8ed3 add ctoplogger, log facility, socket server 2017-02-04 13:01:52 +11:00
Bradley Cicenas
062c4298f2 init global config 2017-01-03 12:37:09 -05:00
Bradley Cicenas
e09bcd0272 move ui.Init() into main, allow any key to exit help dialog 2017-01-01 17:48:35 -05:00
Bradley Cicenas
6e87539b9d add client to containermap, add views package, help view 2017-01-01 17:42:13 -05:00
Bradley Cicenas
995285ebb9 refactor sort into containermap struct 2016-12-30 15:14:07 -06:00
Bradley Cicenas
12ce9b1874 add custom container sorter 2016-12-29 21:22:25 -06:00
Bradley Cicenas
b7823bda5c add mute color placeholder for low-percent gauages 2016-12-27 09:32:45 -06:00
Bradley Cicenas
407e8fca0e add names column to multiview 2016-12-26 20:24:02 -06:00
Bradley Cicenas
055257528a add basic cursor 2016-12-26 12:39:15 -06:00
Bradley Cicenas
e5e84ee206 default to all running containers if no arg provided 2016-12-25 17:05:22 -06:00
Bradley Cicenas
a15d4c4dfe get dockerhost from environment 2016-12-25 13:07:42 -06:00
Bradley Cicenas
2a09ccc4a6 add support for multiple containers in cli 2016-12-24 16:31:24 -06:00
Bradley Cicenas
83a5b0e1f0 update container, add collect methods and main entrypoint 2016-12-22 16:04:21 -06:00
Bradley Cicenas
1c285c9e92 multi-container view 2016-12-22 10:15:22 -06:00
Bradley Cicenas
63379a4029 initial code commit, add stat collector 2016-11-06 14:22:07 +09:00