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
..
2018-11-02 12:00:39 -05:00
2017-10-25 19:30:35 +02:00
2018-10-19 12:04:07 -04:00
2017-07-18 20:24:38 +02:00
2018-03-27 10:59:42 -05:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-10-19 12:04:07 -04:00
2018-11-14 22:37:47 +00:00
2018-10-19 12:04:07 -04:00
2018-10-19 08:41:03 -07:00
2018-02-12 10:15:31 -08:00
2018-02-12 10:15:31 -08:00
2018-09-05 13:38:13 -07:00
2018-02-12 10:15:31 -08:00
2018-02-12 10:15:31 -08:00
2018-02-12 10:15:31 -08:00
2018-10-19 12:04:07 -04:00
2018-03-19 16:56:00 +00:00