Class PodsApi.APIpodDeleteLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.PodsApi.APIpodDeleteLibpodRequest
- Enclosing class:
- PodsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for podDeleteLibpodexecute()Execute podDeleteLibpod requestokhttp3.CallexecuteAsync(ApiCallback<PodRmReport> _callback) Execute podDeleteLibpod request (asynchronously)Execute podDeleteLibpod request with HTTP info returnedSet force
-
Method Details
-
force
Set force- Parameters:
force- force removal of a running pod by first stopping all containers, then removing all containers in the pod (optional)- Returns:
- APIpodDeleteLibpodRequest
-
buildCall
Build call for podDeleteLibpod- 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 Rm pod - 400 Bad parameter in request - 404 No such pod - 500 Internal server error -
-
execute
Execute podDeleteLibpod request- Returns:
- PodRmReport
- 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 Rm pod - 400 Bad parameter in request - 404 No such pod - 500 Internal server error -
-
executeWithHttpInfo
Execute podDeleteLibpod request with HTTP info returned- Returns:
- ApiResponse<PodRmReport>
- 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 Rm pod - 400 Bad parameter in request - 404 No such pod - 500 Internal server error -
-
executeAsync
Execute podDeleteLibpod 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 Rm pod - 400 Bad parameter in request - 404 No such pod - 500 Internal server error -
-