Class ContainersApi.APIcontainerCheckpointLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerCheckpointLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for containerCheckpointLibpodvoidexecute()Execute containerCheckpointLibpod requestokhttp3.CallexecuteAsync(ApiCallback<Void> _callback) Execute containerCheckpointLibpod request (asynchronously)Execute containerCheckpointLibpod request with HTTP info returnedSet exportSet fileLocksignoreRootFS(Boolean ignoreRootFS) Set ignoreRootFSignoreVolumes(Boolean ignoreVolumes) Set ignoreVolumesSet keepleaveRunning(Boolean leaveRunning) Set leaveRunningpreCheckpoint(Boolean preCheckpoint) Set preCheckpointprintStats(Boolean printStats) Set printStatstcpEstablished(Boolean tcpEstablished) Set tcpEstablishedwithPrevious(Boolean withPrevious) Set withPrevious
-
Method Details
-
keep
Set keep- Parameters:
keep- keep all temporary checkpoint files (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
leaveRunning
Set leaveRunning- Parameters:
leaveRunning- leave the container running after writing checkpoint to disk (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
tcpEstablished
Set tcpEstablished- Parameters:
tcpEstablished- checkpoint a container with established TCP connections (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
export
Set export- Parameters:
export- export the checkpoint image to a tar.gz (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
ignoreRootFS
Set ignoreRootFS- Parameters:
ignoreRootFS- do not include root file-system changes when exporting. can only be used with export (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
ignoreVolumes
Set ignoreVolumes- Parameters:
ignoreVolumes- do not include associated volumes. can only be used with export (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
preCheckpoint
Set preCheckpoint- Parameters:
preCheckpoint- dump the container's memory information only, leaving the container running. only works on runc 1.0-rc or higher (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
withPrevious
Set withPrevious- Parameters:
withPrevious- check out the container with previous criu image files in pre-dump. only works on runc 1.0-rc or higher (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
fileLocks
Set fileLocks- Parameters:
fileLocks- checkpoint a container with filelocks (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
printStats
Set printStats- Parameters:
printStats- add checkpoint statistics to the returned CheckpointReport (optional)- Returns:
- APIcontainerCheckpointLibpodRequest
-
buildCall
Build call for containerCheckpointLibpod- Parameters:
_callback- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 tarball is returned in body if exported - 404 No such container - 500 Internal server error -
-
execute
Execute containerCheckpointLibpod request- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 tarball is returned in body if exported - 404 No such container - 500 Internal server error -
-
executeWithHttpInfo
Execute containerCheckpointLibpod request with HTTP info returned- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 tarball is returned in body if exported - 404 No such container - 500 Internal server error -
-
executeAsync
Execute containerCheckpointLibpod request (asynchronously)- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 tarball is returned in body if exported - 404 No such container - 500 Internal server error -
-