mirror of https://github.com/status-im/consul.git
0638e09b6e
* 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 |
||
---|---|---|
.. | ||
ca | ||
csr.go | ||
generate.go | ||
parsing.go | ||
testing_ca.go | ||
testing_ca_test.go | ||
testing_spiffe.go | ||
uri.go | ||
uri_service.go | ||
uri_service_test.go | ||
uri_signing.go | ||
uri_signing_test.go | ||
uri_test.go |