Re-organize admin client
It's very messy right now, only takes yaml, and is fairly convoluted.
Is there a problem with Yaml? Any thoughts on what you wanted to do?
On Mon, Jun 29, 2015 at 7:00 AM MBerhault [email protected] wrote:
It's very messy right now, only takes yaml, and is fairly convoluted.
— Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/1548.
The admin endpoints can already accept multiple encodings. For things like the UserConfig which do not take a config file, I'd rather build a proto and put that directly. My thinking was to change the admin client to take an arbitrary encoding. It will still support yaml, and this will still be the file encoding expected for accounting/perm/zone.
Sounds good. Thanks for explaining.
On Mon, Jun 29, 2015 at 2:22 PM MBerhault [email protected] wrote:
The admin endpoints can already accept multiple encodings. For things like the UserConfig which do not take a config file, I'd rather build a proto and put that directly. My thinking was to change the admin client to take an arbitrary encoding. It will still support yaml, and this will still be the file encoding expected for accounting/perm/zone.
— Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/1548#issuecomment-116783602 .
This is mostly done. It would be nice to add proto at some point.
No longer needed, all configs are moving to structured layout with sql interface. #2090