Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package api.v2;
|
||||
|
||||
option go_package = "git.ohea.xyz/cursorius/pipeline-api/go/api/v2;apiv2";
|
||||
|
||||
message RunCommandRequest {
|
||||
string id = 1;
|
||||
string command = 2;
|
||||
}
|
||||
|
||||
message RunCommandResponse {
|
||||
int64 return_code = 1;
|
||||
string stdout = 2;
|
||||
string stderr = 3;
|
||||
}
|
||||
|
||||
service RunCommandService {
|
||||
rpc RunCommand(RunCommandRequest) returns (RunCommandResponse) {}
|
||||
}
|
||||
Reference in New Issue
Block a user