api/rpc/v1/wasi.proto

44 lines
No EOL
734 B
Protocol Buffer

syntax = "proto3";
package buildr.rpc.v1;
import "rpc/v1/spec.proto";
message ProcessStartRequest {
string command = 1;
repeated string args = 2;
string working_directory = 3;
map<string, string> environment = 4;
bytes stdin = 5;
}
message ProcessStartResponse {
int32 exit_code = 1;
string error = 2;
bytes stderr = 3;
}
message LookupPathRequest {
string command = 1;
}
message LookupPathResponse {
string path = 1;
string error = 2;
}
message HelpRequest {
ModuleReference module_reference = 1;
}
message TaskExample {
string name = 1;
string description = 2;
TaskSpec task_spec = 3;
}
message HelpResponse {
string name = 1;
string description = 2;
repeated TaskExample examples = 3;
}