consul/agent/structs
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
..
acl.go
acl_cache.go
acl_cache_test.go
acl_legacy.go
acl_legacy_test.go
acl_test.go
catalog.go
check_definition.go
check_definition_test.go
check_type.go
connect.go
connect_ca.go connect: agent leaf cert caching improvements (#5091) 2019-01-10 12:46:11 +00:00
connect_ca_test.go
connect_proxy_config.go
connect_proxy_config_test.go
connect_test.go
errors.go
intention.go
intention_test.go
operator.go
prepared_query.go
prepared_query_test.go
sanitize_oss.go
service_definition.go
service_definition_test.go
snapshot.go
structs.go
structs_test.go
testing_catalog.go
testing_connect_proxy_config.go
testing_intention.go
testing_service_definition.go
txn.go