Implemented working runner api (fixes #1)
This commit is contained in:
@@ -10,6 +10,7 @@ message Register {
|
||||
|
||||
message RunCommand {
|
||||
string command = 1;
|
||||
repeated string args = 2;
|
||||
}
|
||||
|
||||
message RunCommandPartialResponse {
|
||||
@@ -21,3 +22,16 @@ message RunCommandFinalResponse {
|
||||
int64 return_code = 1;
|
||||
RunCommandPartialResponse partial_response = 2;
|
||||
}
|
||||
|
||||
message ServerToRunnerMsg {
|
||||
oneof msg {
|
||||
RunCommand RunCommandMsg = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message RunnerToServerMsg {
|
||||
oneof msg {
|
||||
RunCommandPartialResponse RunCommandPartialResponseMsg = 1;
|
||||
RunCommandFinalResponse RunCommandFinalResponseMsg = 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user