aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-26 15:18:34 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-26 15:18:34 -0700
commit05a648bb96df1be5a9261737d8f6fd01600c6a63 (patch)
tree751a04da5a01ca0dd9233447b1789708bf8cba17 /other/java/client/src
parentc08ac536ed83ef2159a13ce826a249223272818f (diff)
downloadseaweedfs-05a648bb96df1be5a9261737d8f6fd01600c6a63.tar.xz
seaweedfs-05a648bb96df1be5a9261737d8f6fd01600c6a63.zip
refactor: separating out remote.proto
Diffstat (limited to 'other/java/client/src')
-rw-r--r--other/java/client/src/main/proto/filer.proto49
1 files changed, 1 insertions, 48 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index a5894a475..b7e4b0e6e 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -336,6 +336,7 @@ message KeepConnectedResponse {
message LocateBrokerRequest {
string resource = 1;
}
+
message LocateBrokerResponse {
bool found = 1;
// if found, send the exact address
@@ -386,54 +387,6 @@ message FilerConf {
/////////////////////////
// Remote Storage related
/////////////////////////
-message RemoteConf {
- string type = 1;
- string name = 2;
- string s3_access_key = 4;
- string s3_secret_key = 5;
- string s3_region = 6;
- string s3_endpoint = 7;
- string s3_storage_class = 8;
- bool s3_force_path_style = 9;
-
- string gcs_google_application_credentials = 10;
-
- string azure_account_name = 15;
- string azure_account_key = 16;
-
- string backblaze_key_id = 20;
- string backblaze_application_key = 21;
- string backblaze_endpoint = 22;
-
- string aliyun_access_key = 25;
- string aliyun_secret_key = 26;
- string aliyun_endpoint = 27;
- string aliyun_region = 28;
-
- string tencent_secret_id = 30;
- string tencent_secret_key = 31;
- string tencent_endpoint = 32;
- string tencent_region = 33;
-
- string baidu_access_key = 35;
- string baidu_secret_key = 36;
- string baidu_endpoint = 37;
- string baidu_region = 38;
-
- string wasabi_access_key = 40;
- string wasabi_secret_key = 41;
- string wasabi_endpoint = 42;
- string wasabi_region = 43;
-}
-
-message RemoteStorageMapping {
- map<string,RemoteStorageLocation> mappings = 1;
-}
-message RemoteStorageLocation {
- string name = 1;
- string bucket = 2;
- string path = 3;
-}
message DownloadToLocalRequest {
string directory = 1;
string name = 2;