remote.proto 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_v4_signature = 11;
  19. string gcs_google_application_credentials = 10;
  20. string gcs_project_id = 12;
  21. string azure_account_name = 15;
  22. string azure_account_key = 16;
  23. string backblaze_key_id = 20;
  24. string backblaze_application_key = 21;
  25. string backblaze_endpoint = 22;
  26. string backblaze_region = 23;
  27. string aliyun_access_key = 25;
  28. string aliyun_secret_key = 26;
  29. string aliyun_endpoint = 27;
  30. string aliyun_region = 28;
  31. string tencent_secret_id = 30;
  32. string tencent_secret_key = 31;
  33. string tencent_endpoint = 32;
  34. string baidu_access_key = 35;
  35. string baidu_secret_key = 36;
  36. string baidu_endpoint = 37;
  37. string baidu_region = 38;
  38. string wasabi_access_key = 40;
  39. string wasabi_secret_key = 41;
  40. string wasabi_endpoint = 42;
  41. string wasabi_region = 43;
  42. string filebase_access_key = 60;
  43. string filebase_secret_key = 61;
  44. string filebase_endpoint = 62;
  45. string storj_access_key = 65;
  46. string storj_secret_key = 66;
  47. string storj_endpoint = 67;
  48. string contabo_access_key = 68;
  49. string contabo_secret_key = 69;
  50. string contabo_endpoint = 70;
  51. string contabo_region = 71;
  52. }
  53. message RemoteStorageMapping {
  54. map<string,RemoteStorageLocation> mappings = 1;
  55. string primary_bucket_storage_name = 2;
  56. }
  57. message RemoteStorageLocation {
  58. string name = 1;
  59. string bucket = 2;
  60. string path = 3;
  61. }