Class ContainersApi.APIimageCommitLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIimageCommitLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionSet authorokhttp3.CallbuildCall(ApiCallback _callback) Build call for imageCommitLibpodSet changesSet commentvoidexecute()Execute imageCommitLibpod requestokhttp3.CallexecuteAsync(ApiCallback<Void> _callback) Execute imageCommitLibpod request (asynchronously)Execute imageCommitLibpod request with HTTP info returnedSet formatSet pauseSet repoSet squashSet streamSet tag
-
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
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
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
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
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 -
-