2022-05-15 07:43:37 +00: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 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 {
|
|
|
|
CbOptions global=1;
|
|
|
|
map<string, CbOptions> buckets= 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CbOptions {
|
|
|
|
bool enabled=1;
|
|
|
|
map<string, int64> actions = 2;
|
|
|
|
}
|