use of io.kubernetes.client.models.V1APIResourceList in project java by kubernetes-client.
the class NetworkingV1Api method getAPIResourcesWithHttpInfo.
/**
* get available resources
* @return ApiResponse<V1APIResourceList>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<V1APIResourceList> getAPIResourcesWithHttpInfo() throws ApiException {
com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null);
Type localVarReturnType = new TypeToken<V1APIResourceList>() {
}.getType();
return apiClient.execute(call, localVarReturnType);
}
use of io.kubernetes.client.models.V1APIResourceList in project java by kubernetes-client.
the class ExtensionsV1beta1Api method getAPIResourcesWithHttpInfo.
/**
* get available resources
* @return ApiResponse<V1APIResourceList>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<V1APIResourceList> getAPIResourcesWithHttpInfo() throws ApiException {
com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null);
Type localVarReturnType = new TypeToken<V1APIResourceList>() {
}.getType();
return apiClient.execute(call, localVarReturnType);
}
use of io.kubernetes.client.models.V1APIResourceList in project java by kubernetes-client.
the class CoreV1Api method getAPIResourcesWithHttpInfo.
/**
* get available resources
* @return ApiResponse<V1APIResourceList>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<V1APIResourceList> getAPIResourcesWithHttpInfo() throws ApiException {
com.squareup.okhttp.Call call = getAPIResourcesValidateBeforeCall(null, null);
Type localVarReturnType = new TypeToken<V1APIResourceList>() {
}.getType();
return apiClient.execute(call, localVarReturnType);
}
Aggregations