Class ContainersApi.APIcontainerRestoreLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerRestoreLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionSet _importokhttp3.CallbuildCall(ApiCallback _callback) Build call for containerRestoreLibpodvoidexecute()Execute containerRestoreLibpod requestokhttp3.CallexecuteAsync(ApiCallback<Void> _callback) Execute containerRestoreLibpod request (asynchronously)Execute containerRestoreLibpod request with HTTP info returnedSet fileLocksignoreRootFS(Boolean ignoreRootFS) Set ignoreRootFSignoreStaticIP(Boolean ignoreStaticIP) Set ignoreStaticIPignoreStaticMAC(Boolean ignoreStaticMAC) Set ignoreStaticMACignoreVolumes(Boolean ignoreVolumes) Set ignoreVolumesSet keepSet name2Set podprintStats(Boolean printStats) Set printStatstcpEstablished(Boolean tcpEstablished) Set tcpEstablished
-
Method Details
-
name2
Set name2- Parameters:
name2- the name of the container when restored from a tar. can only be used with import (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
keep
Set keep- Parameters:
keep- keep all temporary checkpoint files (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
tcpEstablished
Set tcpEstablished- Parameters:
tcpEstablished- checkpoint a container with established TCP connections (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
_import
Set _import- Parameters:
_import- import the restore from a checkpoint tar.gz (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
ignoreRootFS
Set ignoreRootFS- Parameters:
ignoreRootFS- do not include root file-system changes when exporting. can only be used with import (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
ignoreVolumes
Set ignoreVolumes- Parameters:
ignoreVolumes- do not restore associated volumes. can only be used with import (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
ignoreStaticIP
Set ignoreStaticIP- Parameters:
ignoreStaticIP- ignore IP address if set statically (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
ignoreStaticMAC
Set ignoreStaticMAC- Parameters:
ignoreStaticMAC- ignore MAC address if set statically (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
fileLocks
Set fileLocks- Parameters:
fileLocks- restore a container with file locks (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
printStats
Set printStats- Parameters:
printStats- add restore statistics to the returned RestoreReport (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
pod
Set pod- Parameters:
pod- pod to restore into (optional)- Returns:
- APIcontainerRestoreLibpodRequest
-
buildCall
Build call for containerRestoreLibpod- 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 containerRestoreLibpod 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 containerRestoreLibpod 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 containerRestoreLibpod 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 -
-