You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.9 KiB

  1. syntax = "proto3";
  2. package remote_pb;
  3. option go_package = "github.com/chrislusf/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. repeated string hdfs_namenodes = 50;
  42. string hdfs_username = 51;
  43. string hdfs_service_principal_name = 52;
  44. string hdfs_data_transfer_protection = 53;
  45. string filebase_access_key = 60;
  46. string filebase_secret_key = 61;
  47. string filebase_endpoint = 62;
  48. string storj_access_key = 65;
  49. string storj_secret_key = 66;
  50. string storj_endpoint = 67;
  51. string contabo_access_key = 68;
  52. string contabo_secret_key = 69;
  53. string contabo_endpoint = 70;
  54. string contabo_region = 71;
  55. }
  56. message RemoteStorageMapping {
  57. map<string,RemoteStorageLocation> mappings = 1;
  58. string primary_bucket_storage_name = 2;
  59. }
  60. message RemoteStorageLocation {
  61. string name = 1;
  62. string bucket = 2;
  63. string path = 3;
  64. }