Brian Picciano
|
f5b0e8e577
|
mdb: refactor to use Components
|
2019-06-23 12:55:40 -06:00 |
|
Brian Picciano
|
ecafe2922a
|
mnet: fix some comments
|
2019-06-23 12:55:27 -06:00 |
|
Brian Picciano
|
4791c02122
|
mcfg: implement ParamDefaultOrRequired
|
2019-06-23 12:55:11 -06:00 |
|
Brian Picciano
|
481b3668c3
|
m: fix tests after having modified initializing logging
|
2019-06-23 11:43:54 -06:00 |
|
Brian Picciano
|
1a6b8e3166
|
mlog: clean up component code and add tests for it
|
2019-06-23 11:39:36 -06:00 |
|
Brian Picciano
|
752e266685
|
mcmp: make InheritedValue a function, not a method, and add Parent method to support it
|
2019-06-23 11:17:48 -06:00 |
|
Brian Picciano
|
6cd61c60f7
|
add root Dockerfile which will build all binaries
|
2019-06-18 00:12:54 -04:00 |
|
Brian Picciano
|
7a5ac9caa0
|
totp-proxy: refactor to use new Component logic
|
2019-06-17 18:18:50 -04:00 |
|
Brian Picciano
|
e91ef01857
|
m: refactor to use new Component stuff, and make the log logic a bit better
|
2019-06-17 17:56:14 -04:00 |
|
Brian Picciano
|
e741e79acf
|
mhttp: refactor to use Components
|
2019-06-17 17:14:00 -04:00 |
|
Brian Picciano
|
d0ba23ac7b
|
mnet: refactor to use Components
|
2019-06-17 17:13:49 -04:00 |
|
Brian Picciano
|
7eac20f58b
|
mlog: refactor From to include Component's Context implicitly
|
2019-06-17 16:51:25 -04:00 |
|
Brian Picciano
|
7f9b0d5591
|
mcmp: make thread-safe, add InheritedValue, refactor Context/Annotation related methods
|
2019-06-17 16:51:25 -04:00 |
|
Brian Picciano
|
dedf3a0368
|
mcmp: rename GetSeries* functions to just Series*
|
2019-06-15 17:52:55 -06:00 |
|
Brian Picciano
|
af836c1cab
|
mtest: refactor to use Component instead of Context
|
2019-06-15 17:51:04 -06:00 |
|
Brian Picciano
|
31ed0fe625
|
mrun: fix Threads after changes to mctx which got rid of children
|
2019-06-15 17:41:20 -06:00 |
|
Brian Picciano
|
8bd0664ba0
|
mlog: refactor to use Components instead of Contexts for storing Logger
|
2019-06-15 17:35:17 -06:00 |
|
Brian Picciano
|
467bcbe52d
|
mctx: refactor to no longer have parent/child logic
|
2019-06-15 17:28:29 -06:00 |
|
Brian Picciano
|
c98f154992
|
mrun: refactor hooks to use Components
|
2019-06-15 17:13:00 -06:00 |
|
Brian Picciano
|
dd2d601081
|
mcfg: refactor so as to use new mcmp.Component type, and use the option pattern to reduce number of arguments to parameters
|
2019-06-15 16:45:53 -06:00 |
|
Brian Picciano
|
a30edfb5f9
|
mcmp: initial implementation, intention is to use Component instead of Context for all component instantiation
|
2019-06-15 16:45:26 -06:00 |
|
Brian Picciano
|
e9b7f24dba
|
mcfg: update docs
|
2019-05-18 12:50:04 -06:00 |
|
Brian Picciano
|
60ea7d98eb
|
mrun: update docs
|
2019-05-18 12:36:53 -06:00 |
|
Brian Picciano
|
d5044ad7cb
|
mctx: add Annotated and polish documentation
|
2019-05-18 12:15:35 -06:00 |
|
Brian Picciano
|
a07df614d8
|
mcfg: make sure Populate never returns a nil context
|
2019-04-29 20:58:13 -04:00 |
|
Brian Picciano
|
8db9e78e08
|
mcfg: add WithFloat64 and WithRequiredFloat64
|
2019-04-20 16:49:12 -04:00 |
|
Brian Picciano
|
f4ad383c4a
|
m: have log level depend on the kind of Context is being used (process or service)
|
2019-04-06 16:30:55 -04:00 |
|
Brian Picciano
|
507c359997
|
mcfg: modify WithCLITail to allow modifying the Usage description
|
2019-04-06 15:07:37 -04:00 |
|
Brian Picciano
|
99387d89ac
|
mcfg: don't allow for empty sub-command, as that makes printing help weird
|
2019-04-06 14:20:01 -04:00 |
|
Brian Picciano
|
b35b44eb22
|
mcfg: implement WithCLISubCommand
|
2019-04-04 16:25:02 -04:00 |
|
Brian Picciano
|
2eb4a37533
|
mcfg: make Parse and Populate return a Context, to allow for sub-commands
|
2019-04-04 12:52:43 -04:00 |
|
Brian Picciano
|
c0afa3d126
|
mcfg: Parse now takes a Context, which allows for implementing WithCLITail
|
2019-04-04 12:20:40 -04:00 |
|
Brian Picciano
|
a596306d9e
|
mcfg: made SourceCLI and SourceEnv be pointers
|
2019-04-04 10:57:37 -04:00 |
|
Brian Picciano
|
7752b569c3
|
m: add ProcessContext and rework where configuration comes from a bit
|
2019-04-02 23:35:45 -04:00 |
|
Brian Picciano
|
ea72c49935
|
mcfg: implement SourceCLI.TailCallback (though I'm not convinced about the naming or necessity of it)
|
2019-04-02 23:21:21 -04:00 |
|
Brian Picciano
|
f5cea76cb7
|
mtest/massert: rename a bunch of functions
|
2019-03-10 19:23:37 -04:00 |
|
Brian Picciano
|
2496b170d8
|
mtest/massert: ensure that values being asserted are captured at the moment the assertion is made
|
2019-03-09 12:14:00 -05:00 |
|
Brian Picciano
|
2343bda42a
|
m: add log message in Start once the start hooks have finished
|
2019-03-03 15:35:49 -05:00 |
|
Brian Picciano
|
3d939a1e80
|
mrun: fix bug in retrieving set of hooks/children from a context, and simplify the logic a bit
|
2019-03-03 15:34:44 -05:00 |
|
Brian Picciano
|
015edcd69a
|
mnet: fix PacketConn closing
|
2019-03-01 14:37:41 -05:00 |
|
Brian Picciano
|
a52230b972
|
mnet: fix PacketConn support again
|
2019-03-01 14:36:16 -05:00 |
|
Brian Picciano
|
5bd3bf1d6d
|
mnet: fix PacketConn support
|
2019-03-01 14:21:43 -05:00 |
|
Brian Picciano
|
14de888300
|
mnet: use ListenerOpts pattern
|
2019-03-01 14:06:25 -05:00 |
|
Brian Picciano
|
4536db8968
|
merr: refactor Wrap/WrapSkip/New to take multiple contexts rather than annotations
|
2019-02-27 13:05:51 -05:00 |
|
Brian Picciano
|
4303da03cc
|
merr/mctx: move stack code into merr
|
2019-02-27 12:18:56 -05:00 |
|
Brian Picciano
|
553a4854ea
|
mrun: change WithThread to WithThreads
|
2019-02-24 17:38:05 -05:00 |
|
Brian Picciano
|
dc57aadb54
|
m: don't log before populating params
|
2019-02-24 17:25:53 -05:00 |
|
Brian Picciano
|
dd7bc43cf8
|
m: rename Start to StartWaitStop, Start is a different function which only populates config and runs start hooks
|
2019-02-24 17:23:38 -05:00 |
|
Brian Picciano
|
3aa69c5878
|
mdb/msql: add SQL.Context method
|
2019-02-24 17:07:35 -05:00 |
|
Brian Picciano
|
604da54903
|
mdb/msql: implement basic MySQL connector
|
2019-02-24 16:30:53 -05:00 |
|