consul/command/agent
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
..
agent.go agent: extract dependency creation from New 2020-08-18 19:04:55 -04:00
agent_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00