wasi-module-sdk-go/api/rpc/v1/wasi.proto

44 lines
734 B
Protocol Buffer
Raw Normal View History

2023-06-29 19:55:40 +00:00
syntax = "proto3";
package buildr.rpc.v1;
2023-08-15 19:46:02 +00:00
import "rpc/v1/spec.proto";
2023-06-29 19:55:40 +00:00
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;
2023-06-29 19:55:40 +00:00
string error = 2;
bytes stderr = 3;
}
message LookupPathRequest {
string command = 1;
}
message LookupPathResponse {
string path = 1;
string error = 2;
2023-08-15 19:46:02 +00:00
}
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;
2023-06-29 19:55:40 +00:00
}