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 |
||
---|---|---|
.. | ||
builder.go | ||
config.go | ||
default.go | ||
default_oss.go | ||
doc.go | ||
flags.go | ||
flags_test.go | ||
flagset.go | ||
merge.go | ||
merge_test.go | ||
patch_hcl.go | ||
patch_hcl_test.go | ||
runtime.go | ||
runtime_test.go | ||
segment_oss.go | ||
segment_oss_test.go | ||
translate.go | ||
translate_test.go |