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.

64 lines
1.5 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. string gcs_google_application_credentials = 10;
  19. string azure_account_name = 15;
  20. string azure_account_key = 16;
  21. string backblaze_key_id = 20;
  22. string backblaze_application_key = 21;
  23. string backblaze_endpoint = 22;
  24. string aliyun_access_key = 25;
  25. string aliyun_secret_key = 26;
  26. string aliyun_endpoint = 27;
  27. string aliyun_region = 28;
  28. string tencent_secret_id = 30;
  29. string tencent_secret_key = 31;
  30. string tencent_endpoint = 32;
  31. string baidu_access_key = 35;
  32. string baidu_secret_key = 36;
  33. string baidu_endpoint = 37;
  34. string baidu_region = 38;
  35. string wasabi_access_key = 40;
  36. string wasabi_secret_key = 41;
  37. string wasabi_endpoint = 42;
  38. string wasabi_region = 43;
  39. repeated string hdfs_namenodes = 50;
  40. string hdfs_username = 51;
  41. string hdfs_service_principal_name = 52;
  42. string hdfs_data_transfer_protection = 53;
  43. }
  44. message RemoteStorageMapping {
  45. map<string,RemoteStorageLocation> mappings = 1;
  46. }
  47. message RemoteStorageLocation {
  48. string name = 1;
  49. string bucket = 2;
  50. string path = 3;
  51. }