open-nomad/helper/boltdd
Seth Hoenig a49b98ac6b boltdd: add iterate and prefix deletion helpers
This PR adds 2 helper functions to the helpers/bbolt package

- Iterate: iterate every key in a bucket. Automatically decodes the
msg pack value into the provided value argument.

- DeletePrefix: deletes every key in a bucket starting with a
given prefix. Manages the wrapper's hash values accordingly. Uses
a cursor & sync to operate efficiently.
2022-07-03 11:52:57 -05:00
..
boltdd.go boltdd: add iterate and prefix deletion helpers 2022-07-03 11:52:57 -05:00
boltdd_test.go boltdd: add iterate and prefix deletion helpers 2022-07-03 11:52:57 -05:00