introduce up --wait condition

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-10-11 17:52:31 +02:00 committed by Nicolas De loof
parent 9e6f51d262
commit 72e4519cbf
6 changed files with 72 additions and 22 deletions

View file

@ -124,6 +124,8 @@ type StartOptions struct {
CascadeStop bool
// ExitCodeFrom return exit code from specified service
ExitCodeFrom string
// Wait won't return until containers reached the running|healthy state
Wait bool
}
// RestartOptions group options of the Restart API