consul/command/services
Daniel Nephin 97a577502d 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
..
deregister testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
register testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
config.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
config_test.go config: improve the interface of Load 2021-01-27 17:34:43 -05:00
services.go command/services 2018-09-27 23:52:17 -07:00
services_test.go command/services 2018-09-27 23:52:17 -07:00