Class ImagesApi.APIimageExportLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ImagesApi.APIimageExportLibpodRequest
- Enclosing class:
- ImagesApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for imageExportLibpodSet compressexecute()Execute imageExportLibpod requestokhttp3.CallexecuteAsync(ApiCallback<File> _callback) Execute imageExportLibpod request (asynchronously)Execute imageExportLibpod request with HTTP info returnedSet formatociAcceptUncompressedLayers(Boolean ociAcceptUncompressedLayers) Set ociAcceptUncompressedLayersreferences(List<String> references) Set references
-
Method Details
-
format
Set format- Parameters:
format- format for exported image (only docker-archive is supported) (optional)- Returns:
- APIimageExportLibpodRequest
-
references
Set references- Parameters:
references- references to images to export (optional)- Returns:
- APIimageExportLibpodRequest
-
compress
Set compress- Parameters:
compress- use compression on image (optional)- Returns:
- APIimageExportLibpodRequest
-
ociAcceptUncompressedLayers
public ImagesApi.APIimageExportLibpodRequest ociAcceptUncompressedLayers(Boolean ociAcceptUncompressedLayers) Set ociAcceptUncompressedLayers- Parameters:
ociAcceptUncompressedLayers- accept uncompressed layers when copying OCI images (optional)- Returns:
- APIimageExportLibpodRequest
-
buildCall
Build call for imageExportLibpod- 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 no error - 404 No such image - 500 Internal server error -
-
execute
Execute imageExportLibpod request- Returns:
- File
- 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 no error - 404 No such image - 500 Internal server error -
-
executeWithHttpInfo
Execute imageExportLibpod request with HTTP info returned- Returns:
- ApiResponse<File>
- 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 no error - 404 No such image - 500 Internal server error -
-
executeAsync
Execute imageExportLibpod 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 no error - 404 No such image - 500 Internal server error -
-