Commit Graph

179 Commits

Author SHA1 Message Date
Brian Picciano
2f647017b9 mlog: add CtxSet and From functions 2018-11-30 18:50:23 -05:00
Brian Picciano
2e269bb6e7 mlog: refactor to use a Stringer for Message.Description 2018-11-30 18:50:08 -05:00
Brian Picciano
b5c676b5c8 mlog: complete refactor again, eliminating the go-routine, which allowed a lot of other things to fall into place nicely 2018-11-30 16:27:18 -05:00
Brian Picciano
47061cec4e mctx: add Root function, and update some docs 2018-11-30 15:11:41 -05:00
Brian Picciano
cb65787f37 mctx: GetSetMutableValue. Not sure if I'm really going to use this or not 2018-10-28 22:17:33 -04:00
Brian Picciano
e349d0fbd8 mctx: moved ctx code from m and kept fleshing it out, trying to figure out how to incorporate Logger 2018-10-28 19:34:26 -04:00
Brian Picciano
6c055d0255 m: WIP on moving the child logic out of mcfg.Cfg and into contexts 2018-10-28 15:59:49 -04:00
Brian Picciano
5c85969bc7 mlog: use a Clone and Set methods instead of With methods 2018-10-28 15:09:42 -04:00
Brian Picciano
910704ae67 massert: add Err and Errf functions 2018-10-28 15:09:14 -04:00
Brian Picciano
d9480abb59 mlog: make stopping logic a little better 2018-10-28 14:31:40 -04:00
Brian Picciano
23045168cf massert: make most assertions handle the case of a reference type, like a map, being changed before Assert is called 2018-10-15 14:34:10 -04:00
Brian Picciano
bc8f323514 mlog: use a waitgroup to flush the Logger on Stop 2018-08-27 15:18:38 -04:00
Brian Picciano
c66f13927a mchk: implement failing test case minimization 2018-08-21 14:45:15 -04:00
Brian Picciano
4a842fbea1 mchk: remove typeName in params printing, it wasn't really helping 2018-08-14 16:18:34 -04:00
Brian Picciano
235e9a1850 massert: make Len error a bit more helpful 2018-08-14 15:38:24 -04:00
Brian Picciano
7f0b8056d7 m: add CfgSource and use it in all current cmds 2018-08-13 21:09:20 -04:00
Brian Picciano
132c51eaf0 mcfg: move Path out of ParamValue and into Param, which allows for shuffling around a whole bunch of code to make things make a bit more sense 2018-08-13 21:02:06 -04:00
Brian Picciano
3de30eb819 mcfg: centralize logic for fuzzy parsing strings, use it to implement SourceMap 2018-08-13 20:44:03 -04:00
Brian Picciano
8ff2abf02c mcfg: implement Sources 2018-08-13 20:15:54 -04:00
Brian Picciano
be17ee942a mcfg: simplify populateParams 2018-08-13 20:05:22 -04:00
Brian Picciano
2e9790451f mcfg: implement SourceEnv, and move a bunch of code it shares with SourceCLI to source(_test).go 2018-08-13 19:40:41 -04:00
Brian Picciano
526e35cf3f mrand: fix bug in Hex with it not outputting correct number of characters for odd number inputs 2018-08-13 19:40:15 -04:00
Brian Picciano
8084268bbf mcfg: shuffle some code around so there's a common way of retrieving all ParamValues out of a Cfg 2018-08-13 18:44:46 -04:00
Brian Picciano
715b6c9491 mchk: move mtest.Checker to mtest/mchk, and refactor its types a little bit 2018-08-13 15:03:30 -04:00
Brian Picciano
1964add0ed mcfg: refactor cli test to use mtest.Checker 2018-08-13 14:17:53 -04:00
Brian Picciano
9ccc787066 mtest: refactor Run a bit 2018-08-13 12:06:05 -04:00
Brian Picciano
c850ace8d2 mtest: add Terminate field to Action 2018-08-13 11:57:33 -04:00
Brian Picciano
7861cf148e mcfg: always lowercase param and child names 2018-08-13 11:50:57 -04:00
Brian Picciano
0e9b7245be totp-proxy: add Dockerfile 2018-08-09 18:42:59 -06:00
Brian Picciano
8a0c508445 cmd/totp-proxy: initial implementation 2018-08-09 18:05:32 -06:00
Brian Picciano
196df2b739 mcfg: add ParamJSON and fix required params error message 2018-08-09 18:05:04 -06:00
Brian Picciano
362207b002 mcrypto: fix docs a bit 2018-08-09 18:04:39 -06:00
Brian Picciano
e5d1802fa2 mhttp: implement ReverseProxy 2018-08-09 14:02:11 -06:00
Brian Picciano
32a44a2033 mhttp: implement AddXForwardedFor 2018-08-09 13:20:16 -06:00
Brian Picciano
dcf9f73bcb mnet: implement IsReservedIP 2018-08-09 12:34:09 -06:00
Brian Picciano
bc97c948bf mbigtable: implement basic cfg and basic tests 2018-07-21 19:56:50 +00:00
Brian Picciano
ebfdfbe245 mdatastore: implement basic initialization code 2018-07-19 20:11:21 +00:00
Brian Picciano
2ab7b72b5f mdb: write missing package docs 2018-07-19 19:38:56 +00:00
Brian Picciano
0a96d5c61e m: add TODO to figure out wtf to do about m.Log 2018-07-19 19:37:05 +00:00
Brian Picciano
8368d0881b mlog: change how Merge/MergeInto work, so they don't evaluate the KV immediately 2018-07-19 18:43:17 +00:00
Brian Picciano
f0032a19d1 mlog: refactor tests to use massert 2018-07-19 18:19:26 +00:00
Brian Picciano
58fd73d540 mtest: implement Nil 2018-07-19 18:04:08 +00:00
Brian Picciano
eaaf0b99cb mdb: break each inner database into its own package 2018-07-19 17:43:18 +00:00
Brian Picciano
23d1a8fc91 mdb: implement BigQuery type, needs tests 2018-07-18 23:51:24 +00:00
Brian Picciano
789555eb3a mdb: update PubSubs's error logging 2018-07-18 23:50:40 +00:00
Brian Picciano
91f56cb40c mdb: add GCE type, refactor PubSub configuration a bit 2018-07-18 23:14:18 +00:00
Brian Picciano
6c17eaa62f mlog: implement KVerFunc and Prefix 2018-07-18 23:01:28 +00:00
Brian Picciano
0a4be2f8cd massert: implement Len 2018-07-16 00:38:00 +00:00
Brian Picciano
d3a81f9613 massert: implement HasKey 2018-07-16 00:08:23 +00:00
Brian Picciano
69e3019fbf massert: implement Subset, Has, Fatal, and Error 2018-07-08 18:19:09 +00:00