open-vault/sdk/physical
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
..
file Move physical/file to sdk 2019-04-15 14:51:33 -04:00
inmem Port over cache refresh changes (#7599) 2019-10-08 13:23:43 -07:00
cache.go Port over cache refresh changes (#7599) 2019-10-08 13:23:43 -07:00
encoding.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
entry.go Update physical_util.go with entry.go 2019-04-12 22:56:04 -04:00
error.go Remove data races around error/latency injector rand objects 2019-06-05 01:37:40 -04:00
latency.go Remove data races around error/latency injector rand objects 2019-06-05 01:37:40 -04:00
physical.go Introduce optional service_registration stanza (#7887) 2019-12-06 09:46:39 -05:00
physical_access.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
physical_view.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
testing.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
transactions.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
types.pb.go Update protobufs, sdk changes 2019-04-12 23:13:14 -04:00
types.proto Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00