Class PodsApi.APIpodKillLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.PodsApi.APIpodKillLibpodRequest
- Enclosing class:
- PodsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for podKillLibpodexecute()Execute podKillLibpod requestokhttp3.CallexecuteAsync(ApiCallback<PodKillReport> _callback) Execute podKillLibpod request (asynchronously)Execute podKillLibpod request with HTTP info returnedSet signal
-
Method Details
-
signal
Set signal- Parameters:
signal- signal to be sent to pod (optional, default to SIGKILL)- Returns:
- APIpodKillLibpodRequest
-
buildCall
Build call for podKillLibpod- 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 Kill Pod - 400 Bad parameter in request - 404 No such pod - 409 Kill Pod - 500 Internal server error -
-
execute
Execute podKillLibpod request- Returns:
- PodKillReport
- 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 Kill Pod - 400 Bad parameter in request - 404 No such pod - 409 Kill Pod - 500 Internal server error -
-
executeWithHttpInfo
Execute podKillLibpod request with HTTP info returned- Returns:
- ApiResponse<PodKillReport>
- 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 Kill Pod - 400 Bad parameter in request - 404 No such pod - 409 Kill Pod - 500 Internal server error -
-
executeAsync
Execute podKillLibpod 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 Kill Pod - 400 Bad parameter in request - 404 No such pod - 409 Kill Pod - 500 Internal server error -
-