diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-11 11:40:26 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-11 11:40:26 +0200 |
commit | 393b76ecba66ff11b80bf404691704568f2d1794 (patch) | |
tree | 66aa5010cb6391f52360396481b759e4187400e1 /src/model/garage.rs | |
parent | 5c00c9fb46305b021b5fc45d7ae7b1e13b72030c (diff) | |
download | garage-393b76ecba66ff11b80bf404691704568f2d1794.tar.gz garage-393b76ecba66ff11b80bf404691704568f2d1794.zip |
Implement CreateKey, DeleteKey and rudimentary UpdateKey
Diffstat (limited to 'src/model/garage.rs')
-rw-r--r-- | src/model/garage.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/model/garage.rs b/src/model/garage.rs index 03e21f8a..2f99bd68 100644 --- a/src/model/garage.rs +++ b/src/model/garage.rs @@ -191,6 +191,10 @@ impl Garage { pub fn bucket_helper(&self) -> helper::bucket::BucketHelper { helper::bucket::BucketHelper(self) } + + pub fn key_helper(&self) -> helper::key::KeyHelper { + helper::key::KeyHelper(self) + } } #[cfg(feature = "k2v")] |