Class ContainersCompatApi.APIimageCommitRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersCompatApi.APIimageCommitRequest
- Enclosing class:
- ContainersCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionSet authorokhttp3.CallbuildCall(ApiCallback _callback) Build call for imageCommitSet changesSet commentSet containervoidexecute()Execute imageCommit requestokhttp3.CallexecuteAsync(ApiCallback<Void> _callback) Execute imageCommit request (asynchronously)Execute imageCommit request with HTTP info returnedSet pauseSet repoSet squashSet tag
-
Method Details
-
container
Set container- Parameters:
container- the name or ID of a container (optional)- Returns:
- APIimageCommitRequest
-
repo
Set repo- Parameters:
repo- the repository name for the created image (optional)- Returns:
- APIimageCommitRequest
-
tag
Set tag- Parameters:
tag- tag name for the created image (optional)- Returns:
- APIimageCommitRequest
-
comment
Set comment- Parameters:
comment- commit message (optional)- Returns:
- APIimageCommitRequest
-
author
Set author- Parameters:
author- author of the image (optional)- Returns:
- APIimageCommitRequest
-
pause
Set pause- Parameters:
pause- pause the container before committing it (optional)- Returns:
- APIimageCommitRequest
-
changes
Set changes- Parameters:
changes- instructions to apply while committing in Dockerfile format (optional)- Returns:
- APIimageCommitRequest
-
squash
Set squash- Parameters:
squash- squash newly built layers into a single new layer (optional)- Returns:
- APIimageCommitRequest
-
buildCall
Build call for imageCommit- 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 imageCommit 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 imageCommit 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 imageCommit 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 -
-