Class ContainersApi.APIimageCommitLibpodRequest

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

public class ContainersApi.APIimageCommitLibpodRequest extends Object
  • Method Details

    • author

      Set author
      Parameters:
      author - author of the image (optional)
      Returns:
      APIimageCommitLibpodRequest
    • changes

      Set changes
      Parameters:
      changes - instructions to apply while committing in Dockerfile format (i.e. \"CMD=/bin/foo\") (optional)
      Returns:
      APIimageCommitLibpodRequest
    • comment

      Set comment
      Parameters:
      comment - commit message (optional)
      Returns:
      APIimageCommitLibpodRequest
    • format

      Set format
      Parameters:
      format - format of the image manifest and metadata (default \"oci\") (optional)
      Returns:
      APIimageCommitLibpodRequest
    • pause

      Set pause
      Parameters:
      pause - pause the container before committing it (optional)
      Returns:
      APIimageCommitLibpodRequest
    • squash

      Set squash
      Parameters:
      squash - squash the container before committing it (optional)
      Returns:
      APIimageCommitLibpodRequest
    • repo

      Set repo
      Parameters:
      repo - the repository name for the created image (optional)
      Returns:
      APIimageCommitLibpodRequest
    • stream

      Set stream
      Parameters:
      stream - output from commit process (optional)
      Returns:
      APIimageCommitLibpodRequest
    • tag

      Set tag
      Parameters:
      tag - tag name for the created image (optional)
      Returns:
      APIimageCommitLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for imageCommitLibpod
      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
      201 no error -
      404 No such image -
      500 Internal server error -
    • execute

      public void execute() throws ApiException
      Execute imageCommitLibpod 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
      201 no error -
      404 No such image -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<Void> executeWithHttpInfo() throws ApiException
      Execute imageCommitLibpod 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
      201 no error -
      404 No such image -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<Void> _callback) throws ApiException
      Execute imageCommitLibpod 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
      201 no error -
      404 No such image -
      500 Internal server error -