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.

35 lines
730 B

  1. syntax = "proto3";
  2. package messaging_pb;
  3. option go_package = "github.com/chrislusf/seaweedfs/weed/pb/s3_pb";
  4. option java_package = "seaweedfs.client";
  5. option java_outer_classname = "S3Proto";
  6. //////////////////////////////////////////////////
  7. service SeaweedS3 {
  8. rpc Configure (S3ConfigureRequest) returns (S3ConfigureResponse) {
  9. }
  10. }
  11. //////////////////////////////////////////////////
  12. message S3ConfigureRequest {
  13. bytes s3_configuration_file_content = 1;
  14. }
  15. message S3ConfigureResponse {
  16. }
  17. message S3CircuitBreakerConfig {
  18. S3CircuitBreakerOptions global=1;
  19. map<string, S3CircuitBreakerOptions> buckets= 2;
  20. }
  21. message S3CircuitBreakerOptions {
  22. bool enabled=1;
  23. map<string, int64> actions = 2;
  24. }