open-vault/physical
Eric Kidd 69434fd13e etcd: Allow disabling sync for load balanced etcd
Some etcd configurations (such as that provided by compose.io) place the
etcd cluster behind multiple load balancers or proxies.  In this
configuration, calling Sync (or AutoSync) on the etcd client will
replace the load balancer addresses with the underlying etcd server
address.

This will cause the etcd client to bypass the load balancers, and may
cause the connection to fail completely if the etcd servers are
protected by a firewall.

This patch provides a "sync" option for the etcd backend, which defaults
to the current behavior, but which can be used to turn off of sync.
This corresponds to etcdctl's --no-sync option.
2016-01-11 13:56:58 -05:00
..
cache.go Replace physical cache with TwoQueue instead of LRU. 2016-01-07 09:21:33 -05:00
cache_test.go physical: rename cache 2015-04-14 11:03:18 -07:00
consul.go Use cleanhttp.DefaultTransport rather than instantiating directly to avoid leaked FDs 2015-12-17 15:23:13 -05:00
consul_test.go Add configuration parameter for max parallel connections to Consul 2015-11-03 15:26:07 -05:00
etcd.go etcd: Allow disabling sync for load balanced etcd 2016-01-11 13:56:58 -05:00
etcd_test.go porting to new etcd client 2015-11-15 22:12:06 -08:00
file.go physical/file: open for writing 2015-04-29 11:31:59 -07:00
file_test.go physical: finish super naive file backend 2015-03-15 20:15:27 -07:00
inmem.go Add configuration parameter for max parallel connections to Consul 2015-11-03 15:26:07 -05:00
inmem_ha.go Add test to ensure the right backend was used with separate HA 2015-12-14 20:48:22 -05:00
inmem_ha_test.go physical: Adding inmem HA for testing 2015-04-14 12:04:15 -07:00
inmem_test.go physical: fix failing test 2015-03-12 14:30:31 -07:00
mysql.go Use varbinary instead of varchar for mysql, fixes #512 2015-08-11 15:03:10 -04:00
mysql_test.go physical/mysql: cleanup and documentation 2015-06-18 14:31:00 -07:00
physical.go Don't use the semaphore library as it's racy; instead use a simple 2015-11-04 12:27:13 -05:00
physical_test.go physical: ensure backend does NOT do recursive delete 2015-07-13 18:59:40 +10:00
s3.go Make S3 act like other parts of vault by prioritizing environment 2015-12-17 10:19:42 -05:00
s3_test.go Add an option to configure the S3 endpoint 2015-11-04 15:04:36 +01:00
zookeeper.go physical/zk: Fixing node representation. Fixes #416 2015-07-13 19:33:23 +10:00
zookeeper_test.go physical/zk: Fixing node representation. Fixes #416 2015-07-13 19:33:23 +10:00