Class PodsApi.APIpodKillLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.PodsApi.APIpodKillLibpodRequest
Enclosing class:
PodsApi

public class PodsApi.APIpodKillLibpodRequest extends Object
  • Method Details

    • signal

      public PodsApi.APIpodKillLibpodRequest signal(String signal)
      Set signal
      Parameters:
      signal - signal to be sent to pod (optional, default to SIGKILL)
      Returns:
      APIpodKillLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      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

      public PodKillReport execute() throws ApiException
      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

      public ApiResponse<PodKillReport> executeWithHttpInfo() throws ApiException
      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

      public okhttp3.Call executeAsync(ApiCallback<PodKillReport> _callback) throws ApiException
      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 -