Class CoreV1Api.APIconnectGetNamespacedPodExecRequest

java.lang.Object
io.kubernetes.client.openapi.apis.CoreV1Api.APIconnectGetNamespacedPodExecRequest
Enclosing class:
CoreV1Api

public class CoreV1Api.APIconnectGetNamespacedPodExecRequest extends Object
  • Method Details

    • command

      Set command
      Parameters:
      command - Command is the remote command to execute. argv array. Not executed within a shell. (optional)
      Returns:
      APIconnectGetNamespacedPodExecRequest
    • container

      Set container
      Parameters:
      container - Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional)
      Returns:
      APIconnectGetNamespacedPodExecRequest
    • stderr

      Set stderr
      Parameters:
      stderr - Redirect the standard error stream of the pod for this call. (optional)
      Returns:
      APIconnectGetNamespacedPodExecRequest
    • stdin

      Set stdin
      Parameters:
      stdin - Redirect the standard input stream of the pod for this call. Defaults to false. (optional)
      Returns:
      APIconnectGetNamespacedPodExecRequest
    • stdout

      Set stdout
      Parameters:
      stdout - Redirect the standard output stream of the pod for this call. (optional)
      Returns:
      APIconnectGetNamespacedPodExecRequest
    • tty

      Set tty
      Parameters:
      tty - TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional)
      Returns:
      APIconnectGetNamespacedPodExecRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for connectGetNamespacedPodExec
      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 OK -
      401 Unauthorized -
    • execute

      public String execute() throws ApiException
      Execute connectGetNamespacedPodExec request
      Returns:
      String
      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 OK -
      401 Unauthorized -
    • executeWithHttpInfo

      public ApiResponse<String> executeWithHttpInfo() throws ApiException
      Execute connectGetNamespacedPodExec request with HTTP info returned
      Returns:
      ApiResponse<String>
      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 OK -
      401 Unauthorized -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<String> _callback) throws ApiException
      Execute connectGetNamespacedPodExec 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 OK -
      401 Unauthorized -