feat(tvix/castore): implement CombinedBlobService

First attempt on composition of BlobServices.

Change-Id: I6e70248007edfd322a503fd40c1c4b4300cbc30c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10587
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-01-09 17:48:48 +02:00 committed by clbot
parent 719cbad871
commit 4d135bcfa2
2 changed files with 137 additions and 0 deletions

View file

@ -4,6 +4,7 @@ use tonic::async_trait;
use crate::proto::stat_blob_response::ChunkMeta;
use crate::B3Digest;
mod combinator;
mod from_addr;
mod grpc;
mod memory;
@ -14,6 +15,7 @@ mod sled;
#[cfg(test)]
mod tests;
pub use self::combinator::CombinedBlobService;
pub use self::from_addr::from_addr;
pub use self::grpc::GRPCBlobService;
pub use self::memory::MemoryBlobService;