Class ContainersApi.APIcontainerRestoreLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerRestoreLibpodRequest
Enclosing class:
ContainersApi

public class ContainersApi.APIcontainerRestoreLibpodRequest extends Object
  • 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

      public ContainersApi.APIcontainerRestoreLibpodRequest tcpEstablished(Boolean 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

      public ContainersApi.APIcontainerRestoreLibpodRequest ignoreRootFS(Boolean ignoreRootFS)
      Set ignoreRootFS
      Parameters:
      ignoreRootFS - do not include root file-system changes when exporting. can only be used with import (optional)
      Returns:
      APIcontainerRestoreLibpodRequest
    • ignoreVolumes

      public ContainersApi.APIcontainerRestoreLibpodRequest ignoreVolumes(Boolean ignoreVolumes)
      Set ignoreVolumes
      Parameters:
      ignoreVolumes - do not restore associated volumes. can only be used with import (optional)
      Returns:
      APIcontainerRestoreLibpodRequest
    • ignoreStaticIP

      public ContainersApi.APIcontainerRestoreLibpodRequest ignoreStaticIP(Boolean ignoreStaticIP)
      Set ignoreStaticIP
      Parameters:
      ignoreStaticIP - ignore IP address if set statically (optional)
      Returns:
      APIcontainerRestoreLibpodRequest
    • ignoreStaticMAC

      public ContainersApi.APIcontainerRestoreLibpodRequest ignoreStaticMAC(Boolean 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

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      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

      public void execute() throws ApiException
      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

      public ApiResponse<Void> executeWithHttpInfo() throws ApiException
      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

      public okhttp3.Call executeAsync(ApiCallback<Void> _callback) throws ApiException
      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 -