diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go index 8099d63e35..8097aa5c36 100644 --- a/pkg/api/server/register_containers.go +++ b/pkg/api/server/register_containers.go @@ -1459,6 +1459,18 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // type: boolean // description: do not include associated volumes. can only be used with export // - 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 // type: boolean // description: add checkpoint statistics to the returned CheckpointReport @@ -1517,6 +1529,10 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // type: boolean // description: ignore MAC address if set statically // - in: query + // name: fileLocks + // type: boolean + // description: restore a container with file locks + // - in: query // name: printStats // type: boolean // description: add restore statistics to the returned RestoreReport