open-consul/agent/cache-types
Matt Keeler 340d20c964
cache: Pass through wait query param to the cache.Get (#5203)
This adds a MaxQueryTime field to the connect ca leaf cache request type and populates it via the wait query param. The cache will then do the right thing and timeout the operation as expected if no new leaf cert is available within that time.

Fixes #4462 

The reproduction scenario in the original issue now times out appropriately.
2019-01-10 11:23:37 -05:00
..
catalog_services.go merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in 2018-10-10 16:55:34 +01:00
catalog_services_test.go bugfix: use ServiceTags to generate cache key hash (#4987) 2019-01-07 21:30:47 +00:00
connect_ca_leaf.go cache: Pass through wait query param to the cache.Get (#5203) 2019-01-10 11:23:37 -05:00
connect_ca_leaf_test.go connect: agent leaf cert caching improvements (#5091) 2019-01-10 12:46:11 +00:00
connect_ca_root.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
connect_ca_root_test.go
health_services.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
health_services_test.go bugfix: use ServiceTags to generate cache key hash (#4987) 2019-01-07 21:30:47 +00:00
intention_match.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
intention_match_test.go
mock_RPC.go
prepared_query.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
prepared_query_test.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
rpc.go
testing.go