api: grpc: types: align fields in api.proto

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2015-12-19 12:00:09 +01:00
parent 79e0dace69
commit 6bc0dcf4e9

View file

@ -21,12 +21,12 @@ message CreateContainerRequest {
string stdin = 3; // path to the file where stdin will be read (optional) string stdin = 3; // path to the file where stdin will be read (optional)
string stdout = 4; // path to file where stdout will be written (optional) string stdout = 4; // path to file where stdout will be written (optional)
string stderr = 5; // path to file where stderr will be written (optional) string stderr = 5; // path to file where stderr will be written (optional)
string console = 6; // path to the console for a container (optional) string console = 6; // path to the console for a container (optional)
string checkpoint = 7; // checkpoint name if you want to create immediate checkpoint (optional) string checkpoint = 7; // checkpoint name if you want to create immediate checkpoint (optional)
} }
message CreateContainerResponse { message CreateContainerResponse {
uint32 pid = 1; // PID of the containers main process uint32 pid = 1; // PID of the containers main process
} }
message SignalRequest { message SignalRequest {
@ -45,10 +45,10 @@ message AddProcessRequest {
repeated string args = 4; // Arguments for process, first is binary path itself repeated string args = 4; // Arguments for process, first is binary path itself
repeated string env = 5; // List of environment variables for process repeated string env = 5; // List of environment variables for process
string cwd = 6; // Workind directory of process string cwd = 6; // Workind directory of process
string stdin = 7; // path to the file where stdin will be read (optional) string stdin = 7; // path to the file where stdin will be read (optional)
string stdout = 8; // path to file where stdout will be written (optional) string stdout = 8; // path to file where stdout will be written (optional)
string stderr = 9; // path to file where stderr will be written (optional) string stderr = 9; // path to file where stderr will be written (optional)
string console = 10; // path to the console for a container (optional) string console = 10; // path to the console for a container (optional)
}; };
message User { message User {