etcdctlv3: add status rpc in protbuffer file

This commit is contained in:
mqliang 2016-04-03 13:44:45 +08:00
parent eea56d037e
commit 3c62bfb7a3

View File

@ -75,6 +75,9 @@ service Maintenance {
// Alarm activates, deactivates, and queries alarms regarding cluster health.
rpc Alarm(AlarmRequest) returns (AlarmResponse) {}
// Status gets the status of the member.
rpc Status(StatusRequest) returns (StatusResponse) {}
rpc Defragment(DefragmentRequest) returns (DefragmentResponse) {}
// Hash returns the hash of the local KV state for consistency checking purpose.
@ -471,6 +474,14 @@ message AlarmResponse {
repeated AlarmMember alarms = 2;
}
message StatusRequest {
}
message StatusResponse {
ResponseHeader header = 1;
string version = 2;
}
message AuthEnableRequest {
}