forked from docker-archive/runc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add state pattern for container state transition
Signed-off-by: Michael Crosby <[email protected]> Add state status() method Signed-off-by: Michael Crosby <[email protected]> Allow multiple checkpoint on restore Signed-off-by: Michael Crosby <[email protected]> Handle leave-running state Signed-off-by: Michael Crosby <[email protected]> Fix state transitions for inprocess Because the tests use libcontainer in process between the various states we need to ensure that that usecase works as well as the out of process one. Signed-off-by: Michael Crosby <[email protected]> Remove isDestroyed method Signed-off-by: Michael Crosby <[email protected]> Handling Pausing from freezer state Signed-off-by: Rajasekaran <[email protected]> freezer status Signed-off-by: Rajasekaran <[email protected]> Fixing review comments Signed-off-by: Rajasekaran <[email protected]> Added comment when freezer not available Signed-off-by: Rajasekaran <[email protected]> Signed-off-by: Michael Crosby <[email protected]> Conflicts: libcontainer/container_linux.go Change checkFreezer logic to isPaused() Signed-off-by: Michael Crosby <[email protected]> Remove state base and factor out destroy func Signed-off-by: Michael Crosby <[email protected]> Add unit test for state transitions Signed-off-by: Michael Crosby <[email protected]>
- Loading branch information
1 parent
9d6ce71
commit 4415446
Showing
10 changed files
with
435 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.