Class CoreV1Api.APIconnectGetNamespacedPodAttachRequest
java.lang.Object
io.kubernetes.client.openapi.apis.CoreV1Api.APIconnectGetNamespacedPodAttachRequest
- Enclosing class:
- CoreV1Api
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for connectGetNamespacedPodAttachSet containerexecute()
Execute connectGetNamespacedPodAttach requestokhttp3.Call
executeAsync
(ApiCallback<String> _callback) Execute connectGetNamespacedPodAttach request (asynchronously)Execute connectGetNamespacedPodAttach request with HTTP info returnedSet stderrSet stdinSet stdoutSet tty
-
Method Details
-
container
Set container- Parameters:
container
- The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional)- Returns:
- APIconnectGetNamespacedPodAttachRequest
-
stderr
Set stderr- Parameters:
stderr
- Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional)- Returns:
- APIconnectGetNamespacedPodAttachRequest
-
stdin
Set stdin- Parameters:
stdin
- Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional)- Returns:
- APIconnectGetNamespacedPodAttachRequest
-
stdout
Set stdout- Parameters:
stdout
- Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional)- Returns:
- APIconnectGetNamespacedPodAttachRequest
-
tty
Set tty- Parameters:
tty
- TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional)- Returns:
- APIconnectGetNamespacedPodAttachRequest
-
buildCall
Build call for connectGetNamespacedPodAttach- 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 connectGetNamespacedPodAttach 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 connectGetNamespacedPodAttach 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 connectGetNamespacedPodAttach 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 -
-