Class ImagesApi.APIimageImportLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ImagesApi.APIimageImportLibpodRequest
- Enclosing class:
- ImagesApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for imageImportLibpodSet changescontentType(String contentType) Set contentTypeexecute()Execute imageImportLibpod requestokhttp3.CallexecuteAsync(ApiCallback<ImageImportReport> _callback) Execute imageImportLibpod request (asynchronously)Execute imageImportLibpod request with HTTP info returnedSet messageSet referenceSet url
-
Method Details
-
contentType
Set contentType- Parameters:
contentType- (optional, default to application/x-tar)- Returns:
- APIimageImportLibpodRequest
-
changes
Set changes- Parameters:
changes- Apply the following possible instructions to the created image: CMD | ENTRYPOINT | ENV | EXPOSE | LABEL | STOPSIGNAL | USER | VOLUME | WORKDIR. JSON encoded string (optional)- Returns:
- APIimageImportLibpodRequest
-
message
Set message- Parameters:
message- Set commit message for imported image (optional)- Returns:
- APIimageImportLibpodRequest
-
reference
Set reference- Parameters:
reference- Optional Name[:TAG] for the image (optional)- Returns:
- APIimageImportLibpodRequest
-
url
Set url- Parameters:
url- Load image from the specified URL (optional)- Returns:
- APIimageImportLibpodRequest
-
buildCall
Build call for imageImportLibpod- 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 Image Import - 400 Bad parameter in request - 500 Internal server error -
-
execute
Execute imageImportLibpod request- Returns:
- ImageImportReport
- 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 Image Import - 400 Bad parameter in request - 500 Internal server error -
-
executeWithHttpInfo
Execute imageImportLibpod request with HTTP info returned- Returns:
- ApiResponse<ImageImportReport>
- 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 Image Import - 400 Bad parameter in request - 500 Internal server error -
-
executeAsync
Execute imageImportLibpod 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 Image Import - 400 Bad parameter in request - 500 Internal server error -
-