remote.proto 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. }
  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. }