Class ContainersApi.APIcontainerDeleteLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerDeleteLibpodRequest
- Enclosing class:
- ContainersApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for containerDeleteLibpodSet dependexecute()Execute containerDeleteLibpod requestokhttp3.CallexecuteAsync(ApiCallback<List<LibpodContainersRmReport>> _callback) Execute containerDeleteLibpod request (asynchronously)Execute containerDeleteLibpod request with HTTP info returnedSet forceSet ignoreSet timeoutSet v
-
Method Details
-
depend
Set depend- Parameters:
depend- additionally remove containers that depend on the container to be removed (optional)- Returns:
- APIcontainerDeleteLibpodRequest
-
force
Set force- Parameters:
force- force stop container if running (optional)- Returns:
- APIcontainerDeleteLibpodRequest
-
ignore
Set ignore- Parameters:
ignore- ignore errors when the container to be removed does not existxo (optional)- Returns:
- APIcontainerDeleteLibpodRequest
-
timeout
Set timeout- Parameters:
timeout- number of seconds to wait before killing container when force removing (optional, default to 10)- Returns:
- APIcontainerDeleteLibpodRequest
-
v
Set v- Parameters:
v- delete volumes (optional)- Returns:
- APIcontainerDeleteLibpodRequest
-
buildCall
Build call for containerDeleteLibpod- 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 Remove Containers - 204 no error - 400 Bad parameter in request - 404 No such container - 409 Conflict error in operation - 500 Internal server error -
-
execute
Execute containerDeleteLibpod request- Returns:
- List<LibpodContainersRmReport>
- 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 Remove Containers - 204 no error - 400 Bad parameter in request - 404 No such container - 409 Conflict error in operation - 500 Internal server error -
-
executeWithHttpInfo
Execute containerDeleteLibpod request with HTTP info returned- Returns:
- ApiResponse<List<LibpodContainersRmReport>>
- 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 Remove Containers - 204 no error - 400 Bad parameter in request - 404 No such container - 409 Conflict error in operation - 500 Internal server error -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<List<LibpodContainersRmReport>> _callback) throws ApiException Execute containerDeleteLibpod 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 Remove Containers - 204 no error - 400 Bad parameter in request - 404 No such container - 409 Conflict error in operation - 500 Internal server error -
-