24 lines
420 B
Protocol Buffer
24 lines
420 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "git.ohea.xyz/cursorius/runner-api/go/api/v2;apiv2";
|
|
|
|
message Register {
|
|
string secret = 1;
|
|
string id = 2;
|
|
repeated string tags = 3;
|
|
}
|
|
|
|
message RunCommand {
|
|
string command = 1;
|
|
}
|
|
|
|
message RunCommandPartialResponse {
|
|
string stdout = 1;
|
|
string stderr = 2;
|
|
}
|
|
|
|
message RunCommandFinalResponse {
|
|
int64 return_code = 1;
|
|
RunCommandPartialResponse partial_response = 2;
|
|
}
|