open-vault/command/server
Mike Jarmy e42bc0ffc0
Introduce optional service_registration stanza (#7887)
* move ServiceDiscovery into methods

* add ServiceDiscoveryFactory

* add serviceDiscovery field to vault.Core

* refactor ConsulServiceDiscovery into separate struct

* cleanup

* revert accidental change to go.mod

* cleanup

* get rid of un-needed struct tags in vault.CoreConfig

* add service_discovery parser

* add ServiceDiscovery to config

* cleanup

* cleanup

* add test for ConfigServiceDiscovery to Core

* unit testing for config service_discovery stanza

* cleanup

* get rid of un-needed redirect_addr stuff in service_discovery stanza

* improve test suite

* cleanup

* clean up test a bit

* create docs for service_discovery

* check if service_discovery is configured, but storage does not support HA

* tinker with test

* tinker with test

* tweak docs

* move ServiceDiscovery into its own package

* tweak a variable name

* fix comment

* rename service_discovery to service_registration

* tweak service_registration config

* Revert "tweak service_registration config"

This reverts commit 5509920a8ab4c5a216468f262fc07c98121dce35.

* simplify naming

* refactor into ./serviceregistration/consul
2019-12-06 09:46:39 -05:00
..
seal Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
test-fixtures Introduce optional service_registration stanza (#7887) 2019-12-06 09:46:39 -05:00
config.go Introduce optional service_registration stanza (#7887) 2019-12-06 09:46:39 -05:00
config_test.go Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
config_test_helpers.go Introduce optional service_registration stanza (#7887) 2019-12-06 09:46:39 -05:00
config_util.go Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
listener.go Agent: Listener refactoring and socket file system permissions (#6397) 2019-03-14 11:53:14 -07:00
listener_tcp.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
listener_tcp_test.go go vet fixes 2018-02-05 14:26:31 -05:00
listener_test.go Add tests. This actually adds the initial tests for the TLS listener, 2016-03-11 14:05:52 -05:00