Add health endpoint, add rpc to client
This commit is contained in:
@@ -101,3 +101,19 @@ message ChangeEvent {
|
||||
// "create", "modify", or "remove".
|
||||
string kind = 1;
|
||||
}
|
||||
|
||||
// Client-side status reporting (served by the FUSE client process).
|
||||
service ClientStatus {
|
||||
rpc GetClientStatus(GetClientStatusRequest) returns (ClientStatusResponse);
|
||||
}
|
||||
|
||||
message GetClientStatusRequest {}
|
||||
|
||||
message ClientStatusResponse {
|
||||
string origin_type = 1;
|
||||
string mountpoint = 2;
|
||||
uint64 file_count = 3;
|
||||
bool server_connected = 4;
|
||||
string server_endpoint = 5;
|
||||
int64 last_reconcile_unix = 6;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user