Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions protos/Crane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,17 @@ message DeleteQosReply {
repeated RichError rich_error_list = 2;
}

message ModifyFieldOperation {
ModifyField modify_field = 1; // modify item field
repeated string value_list = 2; // new value
OperationType type = 3;
}

message ModifyAccountRequest {
uint32 uid = 1;
ModifyField modify_field = 2; // modify item field
repeated string value_list = 3; // new value
string name = 4;
OperationType type = 5;
bool force = 6;
string name = 2;
repeated ModifyFieldOperation operations = 3;
bool force = 4;
}

message ModifyAccountReply {
Expand All @@ -357,13 +361,11 @@ message ModifyAccountReply {

message ModifyUserRequest {
uint32 uid = 1;
ModifyField modify_field = 2; // modify item field
repeated string value_list = 3; // new value
string name = 4;
string partition = 5;
OperationType type = 6;
string account = 8;
bool force = 9;
string name = 2;
string partition = 3;
string account = 4;
repeated ModifyFieldOperation operations = 5;
bool force = 6;
}

message ModifyUserReply {
Expand All @@ -373,14 +375,13 @@ message ModifyUserReply {

message ModifyQosRequest {
uint32 uid = 1;
ModifyField modify_field = 2; // modify item field
string value = 3; // new value
string name = 4;
string name = 2;
repeated ModifyFieldOperation operations = 3;
}

message ModifyQosReply {
bool ok = 1;
ErrCode code = 2;
repeated RichError rich_error_list = 2;
}

message QueryAccountInfoRequest {
Expand Down
Loading