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