remote.proto 1.8 KB

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