mirror of https://github.com/status-im/consul.git
2aad3f80fb
Replace two methods with a single one that returns the cert. This moves more of the logic into the single caller (auto-config). tlsutil.Configurator is widely used. By keeping it smaller and focused only on storing and returning TLS config, we make the code easier to follow. These two methods were more related to auto-config than to tlsutil, so reducing the interface moves the logic closer to the feature that requires it. |
||
---|---|---|
.. | ||
auto_config.go | ||
auto_config_oss.go | ||
auto_config_oss_test.go | ||
auto_config_test.go | ||
auto_encrypt.go | ||
auto_encrypt_test.go | ||
config.go | ||
config_oss.go | ||
config_translate.go | ||
config_translate_test.go | ||
mock_oss_test.go | ||
mock_test.go | ||
persist.go | ||
run.go | ||
server_addr.go | ||
tls.go | ||
tls_test.go |