open-consul/agent/auto-config
Daniel Nephin bd545963cc config: improve the interface of Load
This commit reduces the interface to Load() a bit, in preparation for
unexporting NewBuilder and having everything call Load.

The three arguments are reduced to a single argument by moving the other
two into the options struct.

The three return values are reduced to two by moving the RuntimeConfig
and Warnings into a LoadResult struct.
2021-01-27 17:34:43 -05:00
..
auto_config.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
auto_config_test.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
auto_encrypt.go
auto_encrypt_test.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
config.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
config_translate.go
config_translate_test.go
mock_test.go
persist.go
run.go
server_addr.go
tls.go
tls_test.go