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 lib/retry: Refactor to reduce the interface surface 2020-10-04 18:12:42 -04:00
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 Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
config_translate_test.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
mock_test.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
persist.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
run.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
server_addr.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
tls.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00
tls_test.go Merge of auto-config and auto-encrypt code (#8523) 2020-08-31 13:12:17 -04:00