s3.proto 730 B

1234567891011121314151617181920212223242526272829303132333435
  1. syntax = "proto3";
  2. package messaging_pb;
  3. option go_package = "github.com/seaweedfs/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. }