open-consul/agent/auto-config
Daniel Nephin 45dae87ee7 auto-config: reduce awareness of config
This is a small step to allowing Agent to accept its dependencies
instead of creating them in New.

There were two fields in autoconfig.Config that were used exclusively
to load config. These were replaced with a single function, allowing us
to move LoadConfig back to the config package.

Also removed the WithX functions for building a Config. Since these were
simple assignment, it appeared we were not getting much value from them.
2020-08-12 13:23:23 -04:00
..
auto_config.go auto-config: reduce awareness of config 2020-08-12 13:23:23 -04:00
auto_config_test.go auto-config: reduce awareness of config 2020-08-12 13:23:23 -04:00
config.go auto-config: reduce awareness of config 2020-08-12 13:23:23 -04:00
config_translate.go auto-config: Avoid the marshal/unmarshal cycle in auto-config 2020-08-10 20:07:52 -04:00
config_translate_test.go auto-config: Avoid the marshal/unmarshal cycle in auto-config 2020-08-10 20:07:52 -04:00