open-consul/agent/config
Daniel Nephin fc88c28bb9 config: make config.TestLoad_FullConfig use config.Load
This commit makes a number of changes that should make
TestLoad_FullConfig easier to work with, and make the test more like
real world scenarios.

* use separate files in testdata/ dir to store the config source.
  Separate files are much easier to edit because editors can syntax
  highlight json/hcl, and it makes strings easier to find. Previously
  trying to find strings would match strings used in other tests.
* use the exported config.Load interface instead of internal NewBuilder
  and BuildAndValidate.
* remove the tail config overrides, which are only necessary with
  nonZero works.
2021-01-27 17:51:53 -05:00
..
testdata config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
agent_limits.go
builder.go config: Unexport Builder and NewBuilder 2021-01-27 17:41:53 -05:00
builder_oss.go config: Unexport Builder and NewBuilder 2021-01-27 17:41:53 -05:00
builder_oss_test.go
builder_test.go config: Unexport Builder and NewBuilder 2021-01-27 17:41:53 -05:00
config.go
config_oss.go
default.go
default_oss.go
doc.go
flags.go config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
flags_test.go
flagset.go
golden_test.go
limits.go
limits_windows.go
merge.go
merge_test.go
runtime.go
runtime_oss.go
runtime_oss_test.go config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
runtime_test.go config: make config.TestLoad_FullConfig use config.Load 2021-01-27 17:51:53 -05:00
segment_oss.go config: Unexport Builder and NewBuilder 2021-01-27 17:41:53 -05:00
segment_oss_test.go