Add ExecSync.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-06-11 00:16:59 +00:00
parent cc43c86f86
commit 9b79201aa5
5 changed files with 146 additions and 14 deletions

View File

@@ -50,6 +50,8 @@ const (
completeExitReason = "Completed"
// errorExitReason is the exit reason when container exits with code non-zero.
errorExitReason = "Error"
// unknownExitCode is the exit code when exit reason is unknown.
unknownExitCode = 255
)
const (