seaweedfs/weed/pb/s3.proto

36 lines
730 B
Protocol Buffer
Raw Normal View History

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 {
rpc Configure (S3ConfigureRequest) returns (S3ConfigureResponse) {
}
}
//////////////////////////////////////////////////
message S3ConfigureRequest {
bytes s3_configuration_file_content = 1;
}
message S3ConfigureResponse {
}
message S3CircuitBreakerConfig {
2022-06-17 19:07:39 +08:00
S3CircuitBreakerOptions global=1;
map<string, S3CircuitBreakerOptions> buckets= 2;
}
2022-06-17 19:07:39 +08:00
message S3CircuitBreakerOptions {
bool enabled=1;
map<string, int64> actions = 2;
}