consul/agent/config
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
..
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 Add enterprise default config section 2018-02-05 13:33:59 -08:00
doc.go Metrics service prefix (#3498) 2017-09-26 17:49:55 -07:00
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 New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
merge.go Changes maps to merge vs. overwrite when processing configs. 2017-12-13 16:06:01 -08:00
merge_test.go Changes maps to merge vs. overwrite when processing configs. 2017-12-13 16:06:01 -08:00
patch_hcl.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
patch_hcl_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
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 Renames "segments" to "segment" to be consistent with other files. 2017-11-29 18:36:52 -08:00
segment_oss_test.go Renames "segments" to "segment" to be consistent with other files. 2017-11-29 18:36:52 -08:00
translate.go Add SidecarService Syntax sugar to Service Definition (#4686) 2018-10-10 16:55:34 +01:00
translate_test.go config: add generic method to translate between CamelCase and snake_case (#3557) 2017-10-10 16:40:59 -07:00