Search in sources :

Example 51 with V1APIResourceList

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);
}
Also used : Type(java.lang.reflect.Type) V1APIResourceList(io.kubernetes.client.models.V1APIResourceList)

Example 52 with V1APIResourceList

use of io.kubernetes.client.models.V1APIResourceList in project java by kubernetes-client.

the class ExtensionsV1beta1Api method getAPIResourcesWithHttpInfo.

/**
 * get available resources
 * @return ApiResponse&lt;V1APIResourceList&gt;
 * @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);
}
Also used : Type(java.lang.reflect.Type) V1APIResourceList(io.kubernetes.client.models.V1APIResourceList)

Example 53 with V1APIResourceList

use of io.kubernetes.client.models.V1APIResourceList in project java by kubernetes-client.

the class CoreV1Api method getAPIResourcesWithHttpInfo.

/**
 * get available resources
 * @return ApiResponse&lt;V1APIResourceList&gt;
 * @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);
}
Also used : Type(java.lang.reflect.Type) V1APIResourceList(io.kubernetes.client.models.V1APIResourceList)

Aggregations

V1APIResourceList (io.kubernetes.client.models.V1APIResourceList)53 Type (java.lang.reflect.Type)52 ProgressRequestBody (io.kubernetes.client.ProgressRequestBody)26 ProgressResponseBody (io.kubernetes.client.ProgressResponseBody)26 ApiClient (io.kubernetes.client.ApiClient)1 CoreV1Api (io.kubernetes.client.apis.CoreV1Api)1 Authenticator (oracle.kubernetes.operator.authentication.Authenticator)1 Test (org.junit.Test)1