|
| 1 | +# AdmissionregistrationApi |
| 2 | + |
| 3 | +All URIs are relative to *https://localhost* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**getAPIGroup**](AdmissionregistrationApi.md#getAPIGroup) | **GET** /apis/admissionregistration.k8s.io/ | |
| 8 | + |
| 9 | + |
| 10 | +<a name="getAPIGroup"></a> |
| 11 | +# **getAPIGroup** |
| 12 | +> V1APIGroup getAPIGroup() |
| 13 | +
|
| 14 | + |
| 15 | + |
| 16 | +get information of a group |
| 17 | + |
| 18 | +### Example |
| 19 | +```java |
| 20 | +// Import classes: |
| 21 | +//import io.kubernetes.client.ApiClient; |
| 22 | +//import io.kubernetes.client.ApiException; |
| 23 | +//import io.kubernetes.client.Configuration; |
| 24 | +//import io.kubernetes.client.auth.*; |
| 25 | +//import io.kubernetes.client.apis.AdmissionregistrationApi; |
| 26 | + |
| 27 | +ApiClient defaultClient = Configuration.getDefaultApiClient(); |
| 28 | + |
| 29 | +// Configure API key authorization: BearerToken |
| 30 | +ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken"); |
| 31 | +BearerToken.setApiKey("YOUR API KEY"); |
| 32 | +// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) |
| 33 | +//BearerToken.setApiKeyPrefix("Token"); |
| 34 | + |
| 35 | +AdmissionregistrationApi apiInstance = new AdmissionregistrationApi(); |
| 36 | +try { |
| 37 | + V1APIGroup result = apiInstance.getAPIGroup(); |
| 38 | + System.out.println(result); |
| 39 | +} catch (ApiException e) { |
| 40 | + System.err.println("Exception when calling AdmissionregistrationApi#getAPIGroup"); |
| 41 | + e.printStackTrace(); |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +### Parameters |
| 46 | +This endpoint does not need any parameter. |
| 47 | + |
| 48 | +### Return type |
| 49 | + |
| 50 | +[**V1APIGroup**](V1APIGroup.md) |
| 51 | + |
| 52 | +### Authorization |
| 53 | + |
| 54 | +[BearerToken](../README.md#BearerToken) |
| 55 | + |
| 56 | +### HTTP request headers |
| 57 | + |
| 58 | + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf |
| 59 | + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf |
| 60 | + |
0 commit comments