Class CoreApi
java.lang.Object
io.kubernetes.client.openapi.apis.CoreApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget available API versionsokhttp3.Call
getAPIVersionsAsync
(ApiCallback<V1APIVersions> _callback) (asynchronously) get available API versionsokhttp3.Call
getAPIVersionsCall
(ApiCallback _callback) Build call for getAPIVersionsget available API versionsvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
CoreApi
public CoreApi() -
CoreApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAPIVersionsCall
Build call for getAPIVersions- Parameters:
_callback
- Callback for upload/download progress- 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 -
-
getAPIVersions
get available API versions- Returns:
- V1APIVersions
- 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 -
-
getAPIVersionsWithHttpInfo
get available API versions- Returns:
- ApiResponse<V1APIVersions>
- 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 -
-
getAPIVersionsAsync
(asynchronously) get available API versions- 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 -
-