open-vault/command/agent/cache
Jeff Mitchell 5c3649defe Sync up Agent and API's renewers. (#7733)
* Sync up Agent and API's renewers.

This introduces a new type, LifetimeWatcher, which can handle both
renewable and non-renewable secrets, modeled after the version in Agent.
It allows the user to select behavior, with the new style being the
default when calling Start(), and old style if using the legacy Renew()
call.

No tests have been modified (except for reflect issues) and no other
code has been modified to make sure the changes are backwards
compatible.

Once this is accepted I'll pull the Agent version out.

* Move compat flags to NewRenewer

* Port agent to shared lifetime watcher lib
2019-10-28 17:28:59 -07:00
..
cachememdb Make flushing the cache race safe (#6828) 2019-06-05 02:52:18 -04:00
api_proxy.go Fix Agent handling of gzipped responses (#7470) 2019-09-18 14:24:41 -07:00
api_proxy_test.go agent/caching: support proxying request query parameters (#6772) 2019-05-22 09:21:47 -07:00
cache_test.go agent/caching: support proxying request query parameters (#6772) 2019-05-22 09:21:47 -07:00
handler.go Fixed a bunch of typos (#7146) 2019-07-18 21:10:15 -04:00
lease_cache.go Sync up Agent and API's renewers. (#7733) 2019-10-28 17:28:59 -07:00
lease_cache_test.go Fixed a bunch of typos (#7146) 2019-07-18 21:10:15 -04:00
listener.go Agent: Listener refactoring and socket file system permissions (#6397) 2019-03-14 11:53:14 -07:00
proxy.go Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
testing.go agent/caching: add X-Cache and Age headers (#6394) 2019-03-12 13:21:02 -07:00