deployprogress

This commit is contained in:
2023-10-24 20:08:48 +09:00
parent 64ca01c3a7
commit b6b8aa0794
9 changed files with 300 additions and 115 deletions

View File

@ -5,6 +5,7 @@ import "protos/empty.proto";
service Operation {
rpc Query(stream OperationQueryRequest) returns (stream OperationQueryResponse) {}
rpc Refresh(OperationQueryRequest) returns (Empty) {}
rpc ReportDeployingProgress(DeployingProgress) returns (Empty) {}
}
message VersionAndArgs {
@ -42,4 +43,13 @@ message ProcessDescription {
message OperationQueryResponse {
string operation = 1;
map<string, string> args = 2;
}
message DeployingProgress {
string hostname = 1;
string name = 2;
string version = 3;
string state = 4;
int64 progress = 5;
int64 total = 6;
}