Tom Proctor
14cffc38bb
agent/cache: Store leases in-order in persistent cache so that restore respects dependencies ( #12843 )
2021-10-27 11:36:48 +01:00
Theron Voran
39c9c734a3
vault-agent: copy values retrieved from bolt ( #12534 )
...
Byte slices returned from Bolt are only valid during a transaction, so
this makes a copy.
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com >
2021-09-13 11:06:08 -07:00
Brian Kassouf
a24653cc5c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
Theron Voran
f05499518b
agent: drop dockertest dep in cacheboltdb test ( #11145 )
...
ioutils --> ioutil
2021-03-18 17:46:40 -07:00
Theron Voran
ebcdae1f34
agent: persistent caching support ( #10938 )
...
Adds the option of a write-through cache, backed by boltdb
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com >
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com >
Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com >
2021-03-03 14:01:33 -08:00