consul/agent/cache-types
Paul Banks 0638e09b6e
connect: agent leaf cert caching improvements (#5091)
* Add State storage and LastResult argument into Cache so that cache.Types can safely store additional data that is eventually expired.

* New Leaf cache type working and basic tests passing. TODO: more extensive testing for the Root change jitter across blocking requests, test concurrent fetches for different leaves interact nicely with rootsWatcher.

* Add multi-client and delayed rotation tests.

* Typos and cleanup error handling in roots watch

* Add comment about how the FetchResult can be used and change ca leaf state to use a non-pointer state.

* Plumb test override of root CA jitter through TestAgent so that tests are deterministic again!

* Fix failing config test
2019-01-10 12:46:11 +00:00
..
catalog_services.go
catalog_services_test.go
connect_ca_leaf.go
connect_ca_leaf_test.go
connect_ca_root.go
connect_ca_root_test.go
health_services.go
health_services_test.go
intention_match.go
intention_match_test.go
mock_RPC.go
prepared_query.go
prepared_query_test.go
rpc.go
testing.go