Class CoreV1Api.APIconnectGetNamespacedPodExecRequest
java.lang.Object
io.kubernetes.client.openapi.apis.CoreV1Api.APIconnectGetNamespacedPodExecRequest
- Enclosing class:
- CoreV1Api
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for connectGetNamespacedPodExecSet commandSet containerexecute()
Execute connectGetNamespacedPodExec requestokhttp3.Call
executeAsync
(ApiCallback<String> _callback) Execute connectGetNamespacedPodExec request (asynchronously)Execute connectGetNamespacedPodExec request with HTTP info returnedSet stderrSet stdinSet stdoutSet tty
-
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
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
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
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
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 -
-