Class CoreV1Api.APIconnectPostNamespacedPodPortforwardRequest
java.lang.Object
io.kubernetes.client.openapi.apis.CoreV1Api.APIconnectPostNamespacedPodPortforwardRequest
- Enclosing class:
- CoreV1Api
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for connectPostNamespacedPodPortforwardexecute()Execute connectPostNamespacedPodPortforward requestokhttp3.CallexecuteAsync(ApiCallback<String> _callback) Execute connectPostNamespacedPodPortforward request (asynchronously)Execute connectPostNamespacedPodPortforward request with HTTP info returnedSet ports
-
Method Details
-
ports
Set ports- Parameters:
ports- List of ports to forward Required when using WebSockets (optional)- Returns:
- APIconnectPostNamespacedPodPortforwardRequest
-
buildCall
Build call for connectPostNamespacedPodPortforward- Parameters:
_callback- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
execute
Execute connectPostNamespacedPodPortforward request- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
executeWithHttpInfo
Execute connectPostNamespacedPodPortforward 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:
Response Details Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
executeAsync
Execute connectPostNamespacedPodPortforward 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:
Response Details Status Code Description Response Headers 200 OK - 401 Unauthorized -
-