consul/logging
Daniel Nephin 5d4df54296 agent: extract dependency creation from New
With this change, Agent.New() accepts many of the dependencies instead
of creating them in New. Accepting fully constructed dependencies from
a constructor makes the type easier to test, and easier to change.

There are still a number of dependencies created in Start() which can
be addressed in a follow up.
2020-08-18 19:04:55 -04:00
..
monitor Fix spelling of deregister (#7804) 2020-05-08 10:03:45 -04:00
gated_writer.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
gated_writer_test.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
grpc.go agent: extract dependency creation from New 2020-08-18 19:04:55 -04:00
grpc_test.go agent: extract dependency creation from New 2020-08-18 19:04:55 -04:00
log_levels.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
logfile.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
logfile_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
logger.go agent: extract dependency creation from New 2020-08-18 19:04:55 -04:00
logger_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
names.go Implement Client Agent Auto Config 2020-06-17 16:49:46 -04:00
syslog.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00