From ace0ea3d28a7102dee0a0a0c78ffd30d6e068b67 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 15 Oct 2020 10:52:17 -0700 Subject: s3: avoid duplicated bucket --- other/java/client/src/main/proto/filer.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'other/java/client/src') diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index daa20c378..dd5d08e1e 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -37,6 +37,9 @@ service SeaweedFiler { rpc LookupVolume (LookupVolumeRequest) returns (LookupVolumeResponse) { } + rpc CollectionList (CollectionListRequest) returns (CollectionListResponse) { + } + rpc DeleteCollection (DeleteCollectionRequest) returns (DeleteCollectionResponse) { } @@ -244,6 +247,16 @@ message LookupVolumeResponse { map locations_map = 1; } +message Collection { + string name = 1; +} +message CollectionListRequest { + bool include_normal_volumes = 1; + bool include_ec_volumes = 2; +} +message CollectionListResponse { + repeated Collection collections = 1; +} message DeleteCollectionRequest { string collection = 1; } -- cgit v1.2.3