feat: delete bucket

This commit is contained in:
overtrue
2024-07-30 16:54:11 +08:00
parent 6165ac334b
commit 07c11b2097
8 changed files with 128 additions and 20 deletions
+1
View File
@@ -40,6 +40,7 @@ pub trait DiskAPI: Debug + Send + Sync + 'static {
) -> Result<RenameDataResp>;
async fn make_volumes(&self, volume: Vec<&str>) -> Result<()>;
async fn delete_volume(&self, volume: &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>;