mirror of
https://github.com/containers/podman.git
synced 2025-06-11 01:58:37 +08:00
Add missing parameters for checkpoint/restore endpoint
Document the remaining missing options for container checkpoint and restore. [NO NEW TESTS NEEDED] Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
This commit is contained in:
@ -1459,6 +1459,18 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
|||||||
// type: boolean
|
// type: boolean
|
||||||
// description: do not include associated volumes. can only be used with export
|
// description: do not include associated volumes. can only be used with export
|
||||||
// - in: query
|
// - in: query
|
||||||
|
// name: preCheckpoint
|
||||||
|
// type: boolean
|
||||||
|
// description: dump the container's memory information only, leaving the container running. only works on runc 1.0-rc or higher
|
||||||
|
// - in: query
|
||||||
|
// name: withPrevious
|
||||||
|
// type: boolean
|
||||||
|
// description: check out the container with previous criu image files in pre-dump. only works on runc 1.0-rc or higher
|
||||||
|
// - in: query
|
||||||
|
// name: fileLocks
|
||||||
|
// type: boolean
|
||||||
|
// description: checkpoint a container with filelocks
|
||||||
|
// - in: query
|
||||||
// name: printStats
|
// name: printStats
|
||||||
// type: boolean
|
// type: boolean
|
||||||
// description: add checkpoint statistics to the returned CheckpointReport
|
// description: add checkpoint statistics to the returned CheckpointReport
|
||||||
@ -1517,6 +1529,10 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
|||||||
// type: boolean
|
// type: boolean
|
||||||
// description: ignore MAC address if set statically
|
// description: ignore MAC address if set statically
|
||||||
// - in: query
|
// - in: query
|
||||||
|
// name: fileLocks
|
||||||
|
// type: boolean
|
||||||
|
// description: restore a container with file locks
|
||||||
|
// - in: query
|
||||||
// name: printStats
|
// name: printStats
|
||||||
// type: boolean
|
// type: boolean
|
||||||
// description: add restore statistics to the returned RestoreReport
|
// description: add restore statistics to the returned RestoreReport
|
||||||
|
Reference in New Issue
Block a user