kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
505 stars 100 forks source link

abstract bbolt from osquery extension code #1652

Closed zackattack01 closed 6 months ago

zackattack01 commented 6 months ago

Much credit for this PR goes to @James-Pickett - several ideas and some code have been stolen from the original here: https://github.com/kolide/launcher/pull/1421

Since that PR some of the original requirements have loosened and much code has shifted, making it easier to just start with a fresh branch here.

Follow up PRs will attempt to rip out all of the BBolt references from knapsack and beyond (wanted to keep the changeset smaller here). The concept here is to add two new interface requirements for the KVStore type to allow us to remove direct bbolt references from the osquery extension.go logic