2022-05-15 15:43:37 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package messaging_pb;
|
|
|
|
|
|
|
|
option go_package = "github.com/chrislusf/seaweedfs/weed/pb/s3_pb";
|
|
|
|
option java_package = "seaweedfs.client";
|
|
|
|
option java_outer_classname = "S3Proto";
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
|
|
|
|
service SeaweedS3 {
|
|
|
|
|
2022-05-16 12:31:29 +08:00
|
|
|
rpc Configure (S3ConfigureRequest) returns (S3ConfigureResponse) {
|
2022-05-15 15:43:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
|
2022-05-16 12:31:29 +08:00
|
|
|
message S3ConfigureRequest {
|
|
|
|
bytes s3_configuration_file_content = 1;
|
2022-05-15 15:43:37 +08:00
|
|
|
}
|
|
|
|
|
2022-05-16 12:31:29 +08:00
|
|
|
message S3ConfigureResponse {
|
2022-05-15 15:43:37 +08:00
|
|
|
}
|
2022-06-15 21:07:55 +08:00
|
|
|
|
|
|
|
message S3CircuitBreakerConfig {
|
2022-06-17 19:07:39 +08:00
|
|
|
S3CircuitBreakerOptions global=1;
|
|
|
|
map<string, S3CircuitBreakerOptions> buckets= 2;
|
2022-06-15 21:07:55 +08:00
|
|
|
}
|
|
|
|
|
2022-06-17 19:07:39 +08:00
|
|
|
message S3CircuitBreakerOptions {
|
2022-06-15 21:07:55 +08:00
|
|
|
bool enabled=1;
|
|
|
|
map<string, int64> actions = 2;
|
|
|
|
}
|