aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-10-18 09:44:04 +0800
committerGitHub <noreply@github.com>2020-10-18 09:44:04 +0800
commit62af2d961d62f01510d0ad25569f4b82e4809996 (patch)
tree109e26db37bb2365973c70983833da7305b69f34 /other/java
parent5c2e409ffe0e9517e597ebf89e9eb3ba55883f28 (diff)
parentc0ab458671f2859990caab70b59041513d90edac (diff)
downloadseaweedfs-62af2d961d62f01510d0ad25569f4b82e4809996.tar.xz
seaweedfs-62af2d961d62f01510d0ad25569f4b82e4809996.zip
Merge pull request #28 from chrislusf/master
sync
Diffstat (limited to 'other/java')
-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;
}