aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-15 10:52:17 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-15 10:52:20 -0700
commitace0ea3d28a7102dee0a0a0c78ffd30d6e068b67 (patch)
tree1bb85175bd785f2c0643a5cc6bf5693cf7236446 /other/java/client/src
parent53207ae0e76b30fa9d9d1df04eba276774cbe141 (diff)
downloadseaweedfs-ace0ea3d28a7102dee0a0a0c78ffd30d6e068b67.tar.xz
seaweedfs-ace0ea3d28a7102dee0a0a0c78ffd30d6e068b67.zip
s3: avoid duplicated bucket
Diffstat (limited to 'other/java/client/src')
-rw-r--r--other/java/client/src/main/proto/filer.proto13
1 files changed, 13 insertions, 0 deletions
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<string, Locations> 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;
}