Files
moby/daemon
Josh Hawn cfdf84d5d0 Update Container Wait Backend
This patch consolidates the two WaitStop and WaitWithContext methods
on the container.State type. Now there is a single method, Wait, which
takes a context and a bool specifying whether to wait for not just a
container exit but also removal.

The behavior has been changed slightly so that a wait call during a
Created state will not return immediately but instead wait for the
container to be started and then exited.

The interface has been changed to no longer block, but instead returns
a channel on which the caller can receive a *StateStatus value which
indicates the ExitCode or an error if there was one (like a context
timeout or state transition error).

These changes have been propagated through the rest of the deamon to
preserve all other existing behavior.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2017-05-16 15:09:14 -07:00
..
2017-05-16 15:09:14 -07:00
2017-05-10 14:16:27 -07:00
2017-02-07 11:08:37 -08:00
2016-11-14 15:15:09 -05:00
2017-05-09 14:24:43 +02:00
2017-05-16 15:09:14 -07:00
2016-09-07 11:05:58 -07:00
2016-10-28 11:06:54 -07:00
2017-05-05 14:50:00 +08:00
2016-11-16 13:38:45 -08:00
2017-02-15 21:57:27 +08:00
2017-05-16 15:09:14 -07:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-17 13:10:48 -05:00
2017-05-16 15:09:14 -07:00
2017-02-07 11:08:37 -08:00
2016-09-07 11:05:58 -07:00
2016-11-08 17:41:56 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-05-02 17:38:12 -04:00
2016-06-27 10:23:37 -07:00
2017-05-16 15:09:14 -07:00
2016-12-01 09:38:08 -08:00
2016-10-06 22:48:53 -03:00
2016-09-07 11:05:58 -07:00
2017-05-12 00:30:09 -04:00
2017-05-16 23:37:30 +08:00
2017-02-15 21:57:27 +08:00
2017-01-11 21:35:59 +08:00
2016-12-27 21:46:52 +08:00
2016-09-07 11:05:58 -07:00
2017-05-16 11:30:06 -07:00
2017-02-01 14:43:58 -05:00
2016-09-21 12:36:52 +02:00
2016-09-16 11:56:15 -07:00
2017-05-16 15:09:14 -07:00
2016-11-21 19:56:01 +08:00
2017-05-16 15:09:14 -07:00