remote.proto 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. syntax = "proto3";
  2. package remote_pb;
  3. option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb";
  4. option java_package = "seaweedfs.client";
  5. option java_outer_classname = "FilerProto";
  6. /////////////////////////
  7. // Remote Storage related
  8. /////////////////////////
  9. message RemoteConf {
  10. string type = 1;
  11. string name = 2;
  12. string s3_access_key = 4;
  13. string s3_secret_key = 5;
  14. string s3_region = 6;
  15. string s3_endpoint = 7;
  16. string s3_storage_class = 8;
  17. bool s3_force_path_style = 9;
  18. bool s3_support_tagging = 13;
  19. bool s3_v4_signature = 11;
  20. string gcs_google_application_credentials = 10;
  21. string gcs_project_id = 12;
  22. string azure_account_name = 15;
  23. string azure_account_key = 16;
  24. string backblaze_key_id = 20;
  25. string backblaze_application_key = 21;
  26. string backblaze_endpoint = 22;
  27. string backblaze_region = 23;
  28. string aliyun_access_key = 25;
  29. string aliyun_secret_key = 26;
  30. string aliyun_endpoint = 27;
  31. string aliyun_region = 28;
  32. string tencent_secret_id = 30;
  33. string tencent_secret_key = 31;
  34. string tencent_endpoint = 32;
  35. string baidu_access_key = 35;
  36. string baidu_secret_key = 36;
  37. string baidu_endpoint = 37;
  38. string baidu_region = 38;
  39. string wasabi_access_key = 40;
  40. string wasabi_secret_key = 41;
  41. string wasabi_endpoint = 42;
  42. string wasabi_region = 43;
  43. string filebase_access_key = 60;
  44. string filebase_secret_key = 61;
  45. string filebase_endpoint = 62;
  46. string storj_access_key = 65;
  47. string storj_secret_key = 66;
  48. string storj_endpoint = 67;
  49. string contabo_access_key = 68;
  50. string contabo_secret_key = 69;
  51. string contabo_endpoint = 70;
  52. string contabo_region = 71;
  53. }
  54. message RemoteStorageMapping {
  55. map<string,RemoteStorageLocation> mappings = 1;
  56. string primary_bucket_storage_name = 2;
  57. }
  58. message RemoteStorageLocation {
  59. string name = 1;
  60. string bucket = 2;
  61. string path = 3;
  62. }