list_bucket done

This commit is contained in:
weisd
2024-07-25 16:57:43 +08:00
parent b53056fe09
commit 449f8633cf
9 changed files with 182 additions and 13 deletions
+1
View File
@@ -36,6 +36,7 @@ pub trait DiskAPI: Debug + Send + Sync + 'static {
) -> Result<RenameDataResp>;
async fn make_volumes(&self, volume: Vec<&str>) -> Result<()>;
async fn list_volumes(&self) -> Result<Vec<VolumeInfo>>;
async fn make_volume(&self, volume: &str) -> Result<()>;
async fn stat_volume(&self, volume: &str) -> Result<VolumeInfo>;