open-consul/agent/config
Paul Banks c4fa66b4c9
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
..
builder.go connect: add tls config for vault connect ca provider (#5125) 2019-01-08 17:09:22 +01:00
config.go config: remote connect replication_token 2018-11-07 02:15:37 -08:00
default.go New ACLs (#4791) 2018-10-19 12:04:07 -04:00
default_oss.go
doc.go
flags.go [Security] Add finer control over script checks (#4715) 2018-10-11 13:22:11 +01:00
flags_test.go XDS Server Config (#4730) 2018-10-10 16:55:34 +01:00
flagset.go
merge.go
merge_test.go
patch_hcl.go
patch_hcl_test.go
runtime.go connect: agent leaf cert caching improvements (#5091) 2019-01-10 12:46:11 +00:00
runtime_test.go connect: agent leaf cert caching improvements (#5091) 2019-01-10 12:46:11 +00:00
segment_oss.go
segment_oss_test.go
translate.go Add SidecarService Syntax sugar to Service Definition (#4686) 2018-10-10 16:55:34 +01:00
translate_test.go