Add health endpoint, add rpc to client

This commit is contained in:
Alexander
2026-07-01 16:56:56 +02:00
parent 8dba0c097d
commit 8f76dd5b39
11 changed files with 848 additions and 285 deletions
+16
View File
@@ -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;
}